* shortcut.c (PATH_ALL_EXEC): Add parentheses to avoid a compiler warning.

* exceptions.cc (setup_handler): Clarify debugging message.
* sigproc.cc (proc_subproc): Remove PROC_CHILDSTOPPED test.  It is handled by
normal PROC_CLEARWAIT case.
(wait_sig): Eliminate "dispatched" tracking.  Remove __SIGCHILDSTOPPED test.
Decrement counter again before jumping out of InterlockedDecrement loop so that
subsequent InterlockedIncrement will keep the counter at the correctly
decremented value and also detect when there are pending signals.
* sigproc.h: Remove __SIGCHILDSTOPPED element.
(procstuff): Remove PROC_CHILDSTOPPED element.
This commit is contained in:
Christopher Faylor
2001-03-10 23:37:50 +00:00
parent 6a6a6fa2ae
commit 7cf3b655ec
6 changed files with 40 additions and 41 deletions

View File

@ -17,11 +17,10 @@ details. */
enum procstuff
{
PROC_ADDCHILD = 1, // add a new subprocess to list
PROC_CHILDSTOPPED = 2, // a child stopped
PROC_CHILDTERMINATED = 3, // a child died
PROC_CLEARWAIT = 4, // clear all waits - signal arrived
PROC_WAIT = 5, // setup for wait() for subproc
PROC_NOTHING = 6 // nothing, really
PROC_CHILDTERMINATED = 2, // a child died
PROC_CLEARWAIT = 3, // clear all waits - signal arrived
PROC_WAIT = 4, // setup for wait() for subproc
PROC_NOTHING = 5 // nothing, really
};
typedef struct struct_waitq