X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=urcu%2Ffutex.h;h=b71563b7c90c5f3136d4e2517e4de95bb8576202;hb=11eb040f24e020d05d65983d0f87f79b000c7b9f;hp=98acc12855515e7ca0c5bf9ca42fd3fb988e0f30;hpb=9d2614f07691a813a3c560a6c0bcd0a7be854ed5;p=userspace-rcu.git diff --git a/urcu/futex.h b/urcu/futex.h index 98acc12..b71563b 100644 --- a/urcu/futex.h +++ b/urcu/futex.h @@ -6,6 +6,8 @@ * * Userspace RCU - sys_futex/compat_futex header. * + * Copyright 2011-2012 - Mathieu Desnoyers + * * 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