From: Mathieu Desnoyers Date: Sat, 27 Aug 2011 15:18:15 +0000 (-0400) Subject: update comment X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7f12dad2ba26c922477cc5999f7efef43ce26748;p=userspace-rcu.git update comment Signed-off-by: Mathieu Desnoyers --- diff --git a/futex-wakeup/nto1/futex.spin b/futex-wakeup/nto1/futex.spin index f599a00..c0e8b54 100644 --- a/futex-wakeup/nto1/futex.spin +++ b/futex-wakeup/nto1/futex.spin @@ -24,7 +24,6 @@ * 1 waiter * * while (1) { - * progress: * futex = -1; * if (queue == 1) { * futex = 0; @@ -32,7 +31,9 @@ * if (futex == -1) { * futex_wake = (futex == -1 ? 0 : 1); (atomic) * while (futex_wake == 0) { }; + * } * } + * progress: * queue = 0; * } *