Cleanup: remove leftover manual pthread detection
[urcu.git] / compat_futex.c
index 6fe378f965d4407734fe16f3ffcc8ff8eb4afbb1..9e918fe8e2aac035dc39e6e23868410348d02627 100644 (file)
@@ -58,7 +58,7 @@ int compat_futex_noasync(int32_t *uaddr, int op, int32_t val,
 
        /*
         * Check if NULL. Don't let users expect that they are taken into
-        * account. 
+        * account.
         */
        assert(!timeout);
        assert(!uaddr2);
@@ -111,6 +111,8 @@ end:
  * _ASYNC SIGNAL-SAFE_.
  * For now, timeout, uaddr2 and val3 are unused.
  * Waiter will busy-loop trying to read the condition.
+ * It is OK to use compat_futex_async() on a futex address on which
+ * futex() WAKE operations are also performed.
  */
 
 int compat_futex_async(int32_t *uaddr, int op, int32_t val,
@@ -120,7 +122,7 @@ int compat_futex_async(int32_t *uaddr, int op, int32_t val,
 
        /*
         * Check if NULL. Don't let users expect that they are taken into
-        * account. 
+        * account.
         */
        assert(!timeout);
        assert(!uaddr2);
This page took 0.022527 seconds and 4 git commands to generate.