X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Fstatic%2Furcu-qsbr.h;h=143d75a7e1e047f0ec2f81709f3ca39175debdab;hp=8f2ca32a2f111c4b1469c010c5f1fcb4669039a5;hb=b0a841b4ff807dd29fe0cdbfe24900312f0e627b;hpb=f4fe930941ad7e73ca2064c8be1abc31626ec50b diff --git a/urcu/static/urcu-qsbr.h b/urcu/static/urcu-qsbr.h index 8f2ca32..143d75a 100644 --- a/urcu/static/urcu-qsbr.h +++ b/urcu/static/urcu-qsbr.h @@ -106,8 +106,13 @@ static inline void wake_up_gp(void) if (uatomic_read(&rcu_gp.futex) != -1) return; uatomic_set(&rcu_gp.futex, 0); - futex_noasync(&rcu_gp.futex, FUTEX_WAKE, 1, - NULL, NULL, 0); + /* + * Ignoring return value until we can make this function + * return something (because urcu_die() is not publicly + * exposed). + */ + (void) futex_noasync(&rcu_gp.futex, FUTEX_WAKE, 1, + NULL, NULL, 0); } }