diff options
Diffstat (limited to 'man2')
| -rw-r--r-- | man2/futex.2 | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/man2/futex.2 b/man2/futex.2 index 894b78f6a5..2f852e3c45 100644 --- a/man2/futex.2 +++ b/man2/futex.2 @@ -102,10 +102,10 @@ Analogously to an atomic compare-and-exchange operation that potentially changes shared memory, blocking via a futex is an atomic compare-and-block operation. .\" FIXME(Torvald Riegel): -.\" Eventually we want to have some text in NOTES to satisfy -.\" the reference in the following sentence -.\" See NOTES for -.\" a detailed specification of the synchronization semantics. +.\" Eventually we want to have some text in NOTES to satisfy +.\" the reference in the following sentence +.\" See NOTES for a detailed specification of +.\" the synchronization semantics. One use of futexes is for implementing locks. The state of the lock (i.e., acquired or not acquired) @@ -278,7 +278,7 @@ architecture). This load, the comparison with the expected value, and starting to sleep are performed atomically .\" FIXME: Torvald, I think we may need to add some explanation of -.\" "totally ordered" here. +.\" "totally ordered" here. and totally ordered with respect to other futex operations on the same futex word. If the thread starts to sleep, @@ -554,8 +554,6 @@ and when the woken waiter unlocks A then the next waiter can proceed. .\" .\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" .\" -.\" FIXME I added a lengthy piece of text on FUTEX_WAKE_OP text, -.\" and I'd be happy if someone checked it. .TP .BR FUTEX_WAKE_OP " (since Linux 2.6.14)" .\" commit 4732efbeb997189d9f9b04708dc26bf8613ed721 @@ -1934,9 +1932,6 @@ Futex example library, futex-*.tar.bz2 at .UR ftp://ftp.kernel.org\:/pub\:/linux\:/kernel\:/people\:/rusty/ .UE .\" -.\" FIXME Are there any other resources that should be listed -.\" in the SEE ALSO section? -.\" .\" FIXME(Torvald) We should probably refer to the glibc code here, in .\" particular the glibc-internal futex wrapper functions that are .\" WIP, and the generic pthread_mutex_t and perhaps condvar |
