X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=urcu%2Fstatic%2Furcu.h;h=7ea1d3aa981af2afde9e67cc397c589c80a84988;hb=52c67a3d6139a6bf56b97ed350c7f3beaef3ce67;hp=6990c60a3917def651fb903c8d7b7bcbedfa9027;hpb=3887117a5650a14b8b9cc95e2e73bc269575bf46;p=urcu.git diff --git a/urcu/static/urcu.h b/urcu/static/urcu.h index 6990c60..7ea1d3a 100644 --- a/urcu/static/urcu.h +++ b/urcu/static/urcu.h @@ -167,8 +167,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); } }