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=refs%2Fheads%2Furcu%2Fbusyloop;p=userspace-rcu.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); } }