update comment
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 27 Aug 2011 15:18:15 +0000 (11:18 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 27 Aug 2011 15:18:15 +0000 (11:18 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
futex-wakeup/nto1/futex.spin

index f599a00532f36db1b99e005ee7d8fa8fc3b26985..c0e8b543dfec5aa96e3ffef122a131ad07097e2e 100644 (file)
@@ -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;
  * }
  *
This page took 0.025836 seconds and 4 git commands to generate.