X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu.c;h=94d1131e3dba6df7982a33def88f6ec3908c2bf2;hp=6f5b1e01ea04c09db4f7c5c261918750396254ea;hb=8999a9ee7abe868caf8f5327d8b2e8b8b44ee87d;hpb=1b3874915095deab4aa9be0f33423e992e571bb7 diff --git a/urcu.c b/urcu.c index 6f5b1e0..94d1131 100644 --- a/urcu.c +++ b/urcu.c @@ -149,7 +149,7 @@ static void mutex_lock(pthread_mutex_t *mutex) _CMM_STORE_SHARED(URCU_TLS(rcu_reader).need_mb, 0); cmm_smp_mb(); } - poll(NULL,0,10); + (void) poll(NULL, 0, 10); } #endif /* #else #ifndef DISTRUST_SIGNALS_EXTREME */ } @@ -217,7 +217,7 @@ static void force_mb_all_readers(void) cds_list_for_each_entry(index, ®istry, node) { while (CMM_LOAD_SHARED(index->need_mb)) { pthread_kill(index->tid, SIGRCU); - poll(NULL, 0, 1); + (void) poll(NULL, 0, 1); } } cmm_smp_mb(); /* read ->need_mb before ending the barrier */