Fix: handle sys_futex() FUTEX_WAIT interrupted by signal
[userspace-rcu.git] / urcu / futex.h
index 906d9b723ae88481fc7874e1409dc24dd80f35eb..b71563b7c90c5f3136d4e2517e4de95bb8576202 100644 (file)
@@ -42,6 +42,9 @@ extern "C" {
  *
  * futex_async is signal-handler safe for the wakeup. It uses polling
  * on the wait-side in compatibility mode.
+ *
+ * BEWARE: sys_futex() FUTEX_WAIT may return early if interrupted
+ * (returns EINTR).
  */
 
 #ifdef CONFIG_RCU_HAVE_FUTEX
This page took 0.025729 seconds and 4 git commands to generate.