From 02f7b623c9a802c243596cb3c4cb656c1338f592 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 28 Jul 2015 08:52:47 +0200 Subject: [PATCH] futex.2: NOTES: futexes are also used to implement read-write locks and barriers Signed-off-by: Michael Kerrisk --- man2/futex.2 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/man2/futex.2 b/man2/futex.2 index f0184e0d5..91518979d 100644 --- a/man2/futex.2 +++ b/man2/futex.2 @@ -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).