futex.2: NOTES: futexes are also used to implement read-write locks and barriers

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-07-28 08:52:47 +02:00
parent e0074751c9
commit 02f7b623c9
1 changed files with 4 additions and 3 deletions

View File

@ -1526,9 +1526,10 @@ This system call is Linux-specific.
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.
Several higher-level programming abstractions are implemented via futexes,
including POSIX semaphores and
various POSIX threads synchronization mechanisms
(mutexes, condition variables, read-write locks, and barriers).
.\" 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).