Fix: handle sys_futex() FUTEX_WAIT interrupted by signal
[urcu.git] / urcu / futex.h
index bb270c2933fcaf174a67207858addbc35e09982c..2be3bb6c1dc96e5ee71d932f9a2ae7f5221d901b 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.022896 seconds and 4 git commands to generate.