Fix: consumer_timer_signal_thread_qs waits on LTTNG_CONSUMER_SIG_SWITCH
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 18 May 2017 20:15:20 +0000 (16:15 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 19 May 2017 20:47:06 +0000 (16:47 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/consumer/consumer-timer.c

index 931f7471fc6fe974982ff1cb687750ff68f80a7c..08865029ddd035763ee2d58cccebb2baed6f8621 100644 (file)
@@ -381,7 +381,7 @@ void consumer_timer_signal_thread_qs(unsigned int signr)
                if (ret == -1) {
                        PERROR("sigpending");
                }
-               if (!sigismember(&pending_set, LTTNG_CONSUMER_SIG_SWITCH)) {
+               if (!sigismember(&pending_set, signr)) {
                        break;
                }
                caa_cpu_relax();
This page took 0.026376 seconds and 4 git commands to generate.