X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Fstatic%2Furcu.h;h=af8eee442d3849f5756423d7337d16c93f712f34;hp=b5fc09f93553578ae32f660b9c65a49a9ea3517f;hb=b0a841b4ff807dd29fe0cdbfe24900312f0e627b;hpb=f4fe930941ad7e73ca2064c8be1abc31626ec50b diff --git a/urcu/static/urcu.h b/urcu/static/urcu.h index b5fc09f..af8eee4 100644 --- a/urcu/static/urcu.h +++ b/urcu/static/urcu.h @@ -168,8 +168,13 @@ static inline void wake_up_gp(void) { if (caa_unlikely(uatomic_read(&rcu_gp.futex) == -1)) { uatomic_set(&rcu_gp.futex, 0); - futex_async(&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_async(&rcu_gp.futex, FUTEX_WAKE, 1, + NULL, NULL, 0); } }