diff options
author | Christopher Faylor <me@cgf.cx> | 2004-03-14 09:34:05 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-03-14 09:34:05 +0300 |
commit | f8a8e7a1f6364f620685406cf9f3a9770b1d5789 (patch) | |
tree | 5405c4afeb2e3706083ed6e2fccf951e63868a9f /winsup/cygwin/cygtls.h | |
parent | 8308950ca5611565b842800e285ad4c8378344f5 (diff) |
* cygtls.cc (_cygtls::remove): Call remove_wq to ensure that wait stuff is
removed from proc_subproc linked list.
* cygtls.h (_cygtls::remove_wq): Declare.
* sigproc.cc (_cygtls::remove_wq): Define.
(proc_subproc): Label event handle appropriately.
* spawn.cc (spawn_guts): Return -1 when wait() fails for spawn types that
require waiting.
Diffstat (limited to 'winsup/cygwin/cygtls.h')
-rw-r--r-- | winsup/cygwin/cygtls.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/cygtls.h b/winsup/cygwin/cygtls.h index 1a9e75f0a..df4b62b65 100644 --- a/winsup/cygwin/cygtls.h +++ b/winsup/cygwin/cygtls.h @@ -154,6 +154,7 @@ struct _cygtls void set_threadkill () {threadkill = true;} void reset_threadkill () {threadkill = false;} int call_signal_handler () __attribute__ ((regparm (1))); + void remove_wq () __attribute__ ((regparm (1))); void fixup_after_fork () __attribute__ ((regparm (1))); void lock () __attribute__ ((regparm (1))); void unlock () __attribute__ ((regparm (1))); |