mirror of https://github.com/mkerrisk/man-pages
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:
parent
f3e8dec6c7
commit
9c8ed83514
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue