From: Mathieu Desnoyers Date: Thu, 24 Sep 2009 00:55:52 +0000 (-0400) Subject: urcu-defer: fix futex wakeup value X-Git-Tag: v0.1~32 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=8fd3b21900597654e15eb8cda2e97606a4b1d9bf;p=urcu.git urcu-defer: fix futex wakeup value Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu-defer.c b/urcu-defer.c index f0dec91..ccf3511 100644 --- a/urcu-defer.c +++ b/urcu-defer.c @@ -113,7 +113,7 @@ static void wake_up_defer(void) { if (unlikely(atomic_read(&defer_thread_futex) == -1)) { atomic_set(&defer_thread_futex, 0); - futex(&defer_thread_futex, FUTEX_WAKE, 0, + futex(&defer_thread_futex, FUTEX_WAKE, 1, NULL, NULL, 0); } }