From ae2c1774a27b97bc0fac7d6e2369f8c3d1c2a286 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 13 Jan 2015 12:25:17 +0100 Subject: [PATCH] futex.2: Note the existence of the _PRIVATE constants for 'futex_op' Signed-off-by: Michael Kerrisk --- man2/futex.2 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/man2/futex.2 b/man2/futex.2 index c45a7ffb1..da288a143 100644 --- a/man2/futex.2 +++ b/man2/futex.2 @@ -145,6 +145,21 @@ with another process. This allows the kernel to choose the fast path for validating the user-space address and avoids expensive VMA lookups, taking reference counts on file backing store, and so on. + +As a convenience, +.IR +defines a set of constants with the suffix +.BR _PRIVATE +that are equivalents of all of the operations listed below, +.\" except the obsolete FUTEX_FD for which the "private" flag was +.\" meaningless +but with the +.BR FUTEX_PRIVATE_FLAG +ORed into the constant value. +Thus, there are +.BR FUTEX_WAIT_PRIVATE , +.BR FUTEX_WAKE_PRIVATE , +and so on. .TP .BR FUTEX_CLOCK_REALTIME " (since Linux 2.6.28)" .\" commit 1acdac104668a0834cfa267de9946fac7764d486