From: Jérémie Galarneau Date: Thu, 18 May 2017 20:15:20 +0000 (-0400) Subject: Fix: consumer_timer_signal_thread_qs waits on LTTNG_CONSUMER_SIG_SWITCH X-Git-Tag: v2.8.7~9 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=90aa9daee9571edb721c6568e0ded89210d2e3e5;p=lttng-tools.git Fix: consumer_timer_signal_thread_qs waits on LTTNG_CONSUMER_SIG_SWITCH Signed-off-by: Jérémie Galarneau --- diff --git a/src/common/consumer/consumer-timer.c b/src/common/consumer/consumer-timer.c index 931f7471f..08865029d 100644 --- a/src/common/consumer/consumer-timer.c +++ b/src/common/consumer/consumer-timer.c @@ -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();