Fix: handle sys_futex() FUTEX_WAIT interrupted by signal
[userspace-rcu.git] / urcu / futex.h
index 98acc12855515e7ca0c5bf9ca42fd3fb988e0f30..b71563b7c90c5f3136d4e2517e4de95bb8576202 100644 (file)
@@ -6,6 +6,8 @@
  *
  * Userspace RCU - sys_futex/compat_futex header.
  *
+ * Copyright 2011-2012 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
@@ -40,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.02492 seconds and 4 git commands to generate.