We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e42af8e commit c99784aCopy full SHA for c99784a
futex.h
@@ -32,8 +32,10 @@
32
* @param addr The address of the futex.
33
* @param val1 The value to compare the futex to.
34
*
35
- * @retval -1 Futex hasn't blocked.
36
- * @retval 0 Futex has blocked.
+ * @retval 0 Woken by a @p FUTEX_WAKE call.
+ * @retval ETIMEDOUT The wait has timed out.
37
+ * @retval EWOULDBLOCK @p addr is not equal to @p val1.
38
+ * @retval EINTR A signal has interrupted the wait.
39
*/
40
int futex_wait(void *addr, int val1);
41
0 commit comments