Added TODO.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22094 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e8b3ee8155
commit
f8ae4fe2c2
@ -1443,6 +1443,12 @@ wait_for_child(pid_t child, uint32 flags, int32 *_reason,
|
||||
*_returnCode = foundEntry.status;
|
||||
*_reason = (foundEntry.signal << 16) | reason;
|
||||
|
||||
// TODO: From the Open Group Base Specs Issue 6:
|
||||
// "... if SIGCHLD is blocked, if wait() or waitpid() return because
|
||||
// the status of a child process is available, any pending SIGCHLD signal
|
||||
// shall be cleared unless the status of another child process is
|
||||
// available."
|
||||
|
||||
return foundEntry.thread;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user