* exceptions.cc (sigdelayed): Ensure that signal is cleared as the last

operation or suffer races.
* sigproc.cc (proc_subproc): Deal with zombie array overflow.
This commit is contained in:
Christopher Faylor
2001-06-10 16:00:23 +00:00
parent 463513f0e2
commit 161edfaa00
3 changed files with 17 additions and 4 deletions

View File

@ -1206,11 +1206,11 @@ _sigdelayed0:\n\
\n\
call _reset_signal_arrived@0\n\
pushl %5 # signal number\n\
pushl %8 # newmask\n\
movl $0,%0 # zero the signal number as a\n\
# flag to the signal handler thread\n\
# that it is ok to set up sigsave\n\
\n\
pushl %8\n\
call _set_process_mask@4\n\
popl %%eax\n\
jmp *%%eax\n\