wait.2: wait() and waitpid() block the calling thread (not process)

Reported-by: Robin Kuzmin <kuzmin.robin@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2018-02-24 19:02:50 +01:00
parent f3e8dec6c7
commit 9c8ed83514
1 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ calls is termed
.SS wait() and waitpid()
The
.BR wait ()
system call suspends execution of the calling process until one of its
system call suspends execution of the calling thread until one of its
children terminates.
The call
.I wait(&wstatus)
@ -123,7 +123,7 @@ waitpid(\-1, &wstatus, 0);
.PP
The
.BR waitpid ()
system call suspends execution of the calling process until a
system call suspends execution of the calling thread until a
child specified by
.I pid
argument has changed state.