X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu.c;h=0ebe4fd796927a7cd2d204cfff75ed746e55dc91;hp=8ff39db1331e5a33cfc102b9fb3283e6c58fc2df;hb=0854ccff976f2893a7f04aaa4b48090f423802a5;hpb=d45599f4bfd3283dbab0f023d051b9b9b0639c0d diff --git a/urcu.c b/urcu.c index 8ff39db..0ebe4fd 100644 --- 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); }