mirror of https://github.com/mkerrisk/man-pages
futex.2: tfix
In the comment of the example program, the peer blocks on fwait() rather than fpost(). Signed-off-by: Jing Peng <pj.hades@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
fd97f2fe65
commit
e2c751049c
|
@ -1809,7 +1809,7 @@ fwait(uint32_t *futexp)
|
|||
|
||||
/* Release the futex pointed to by \(aqfutexp\(aq: if the futex currently
|
||||
has the value 0, set its value to 1 and the wake any futex waiters,
|
||||
so that if the peer is blocked in fpost(), it can proceed. */
|
||||
so that if the peer is blocked in fwait(), it can proceed. */
|
||||
|
||||
static void
|
||||
fpost(uint32_t *futexp)
|
||||
|
|
Loading…
Reference in New Issue