* pinfo.h (pinfo::operator ==): Add a way to check for _pinfo types.
* sigproc.cc (proc_subproc): Ensure that zombie is removed when SIGCHLD == SIG_IGN but still allow wait()ing threads to wake up.
This commit is contained in:
@ -98,8 +98,8 @@ wait4 (int intpid, int *status, int options, struct rusage *r)
|
||||
|
||||
if (w->status == -1)
|
||||
{
|
||||
call_signal_handler_now ();
|
||||
set_sig_errno (EINTR);
|
||||
call_signal_handler_now ();
|
||||
sawsig = true;
|
||||
res = -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user