diff options
author | Christopher Faylor <me@cgf.cx> | 2001-03-10 23:37:50 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-03-10 23:37:50 +0000 |
commit | 7cf3b655ec6ec6246018018cf773d3433e6075af (patch) | |
tree | 541c9ecb7a4c2763ffb742de9a67421ac9203200 /winsup/cygwin/sigproc.h | |
parent | 6a6a6fa2aeb3ce49529d32db6ae6ab2e87893960 (diff) | |
download | cygnal-7cf3b655ec6ec6246018018cf773d3433e6075af.tar.gz cygnal-7cf3b655ec6ec6246018018cf773d3433e6075af.tar.bz2 cygnal-7cf3b655ec6ec6246018018cf773d3433e6075af.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/sigproc.h')
-rw-r--r-- | winsup/cygwin/sigproc.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/winsup/cygwin/sigproc.h b/winsup/cygwin/sigproc.h index 0daa493f5..c67574d5b 100644 --- a/winsup/cygwin/sigproc.h +++ b/winsup/cygwin/sigproc.h @@ -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 |