X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=urcu%2Fstatic%2Furcu.h;h=5b9ceecdca5f291dbc2fff96ae7be25113a3750f;hb=11eb040f24e020d05d65983d0f87f79b000c7b9f;hp=c517693ff1cf187982882bf30f412e454ae8d26f;hpb=a99b1455f89d4b214afcee19799776b45afcfed2;p=userspace-rcu.git diff --git a/urcu/static/urcu.h b/urcu/static/urcu.h index c517693..5b9ceec 100644 --- a/urcu/static/urcu.h +++ b/urcu/static/urcu.h @@ -234,8 +234,13 @@ static inline void wake_up_gp(void) { if (caa_unlikely(uatomic_read(&gp_futex) == -1)) { uatomic_set(&gp_futex, 0); - futex_async(&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(&gp_futex, FUTEX_WAKE, 1, + NULL, NULL, 0); } }