futex.2: Minor wording fixes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-07-28 09:51:35 +02:00
parent 7e8dcabcb1
commit d45f244c6d
1 changed files with 9 additions and 5 deletions

View File

@ -43,12 +43,16 @@ The
system call provides a method for waiting until a certain condition becomes
true.
It is typically used as a blocking construct in the context of
shared-memory synchronization: The program implements the majority of
the synchronization in user space, and uses one of the operations of
the system call when it is likely that it has to block for
shared-memory synchronization.
When using futexes, the majority of
the synchronization operations are performed in user space.
The user-space program employs
.BR futex ()
operations only when it is likely that the program has to block for
a longer time until the condition becomes true.
The program uses another operation of the system call to wake
anyone waiting for a particular condition.
The program uses another
.BR futex ()
operation to wake anyone waiting for a particular condition.
A futex is a 32-bit value\(emreferred to below as a
.IR "futex word" \(emwhose