Noted that any thread in a thread group can wait for a child

that one of them creates using fork().
This commit is contained in:
Michael Kerrisk 2005-06-02 10:22:34 +00:00
parent 9cbf71d215
commit f7110f6014
1 changed files with 6 additions and 0 deletions

View File

@ -431,6 +431,12 @@ If any of the threads in a thread group performs an
then all threads other than the thread group leader are terminated,
and the new program is executed in the thread group leader.
If one of the threads in a thread group creates a child using
.BR fork (2),
then any thread in the group can
.BR wait (2)
for that child.
Since Linux 2.6,
.I flags
must also include