Support for sys_futex autodetection
[urcu.git] / urcu.c
diff --git a/urcu.c b/urcu.c
index 8ff39db1331e5a33cfc102b9fb3283e6c58fc2df..0ebe4fd796927a7cd2d204cfff75ed746e55dc91 100644 (file)
--- a/urcu.c
+++ b/urcu.c
@@ -208,7 +208,7 @@ static void wait_gp(void)
        /* Read reader_gp before read futex */
        force_mb_all_threads();
        if (uatomic_read(&gp_futex) == -1)
-               futex(&gp_futex, FUTEX_WAIT, -1,
+               futex_async(&gp_futex, FUTEX_WAIT, -1,
                      NULL, NULL, 0);
 }
 
This page took 0.022124 seconds and 4 git commands to generate.