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:20 +0000 (16:47 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/consumer/consumer-timer.c

index b0a434284a87d888f631b3fc8f0d435fc4c1d888..1ba648c5fd97524e166ac4baab8adb1ff8836201 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.026114 seconds and 4 git commands to generate.