On 11/21/20 10:08 PM, Jing Peng wrote: > In the comment of the example program, the peer blocks on fwait() > rather than fpost(). > > Signed-off-by: Jing Peng <pj.hades@xxxxxxxxx> Thanks, Jing Peng! Patch applied. Cheers, Michael > --- > man2/futex.2 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/man2/futex.2 b/man2/futex.2 > index 76c89f16c..5e006784f 100644 > --- a/man2/futex.2 > +++ b/man2/futex.2 > @@ -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) > -- > 2.29.1 > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/