aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2015-07-27 13:09:45 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2015-12-15 14:39:48 +0100
commitcf44281c666b51d5c4410c04bcebeed877bcbb6d (patch)
tree1bbd93861b020ebae419e236f35e973c54d3ae4e
parent78bbcd9faf3f76079930f61806282b4e963b9ea7 (diff)
downloadman-pages-cf44281c666b51d5c4410c04bcebeed877bcbb6d.tar.gz
futex.2: Point out that futexes are used to implement higher-level abstractions
Reported-by: Thomas Gleixner <tglx@linutronix.de> Reported-by: Torvald Riegel <triegel@redhat.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/futex.24
1 files changed, 4 insertions, 0 deletions
diff --git a/man2/futex.2 b/man2/futex.2
index 8683d62fa1..fe94c2d3ff 100644
--- a/man2/futex.2
+++ b/man2/futex.2
@@ -1512,6 +1512,10 @@ This system call is Linux-specific.
.SH NOTES
Glibc does not provide a wrapper for this system call; call it using
.BR syscall (2).
+
+Various higher-level programming abstractions are implemented via futexes,
+including POSIX threads mutexes and condition variables,
+as well as POSIX semaphores.
.\" TODO FIXME(Torvald) Above, we cite this section and claim it contains
.\" details on the synchronization semantics; add the C11 equivalents
.\" here (or whatever we find consensus for).