diff options
author | Christopher Faylor <me@cgf.cx> | 2006-01-05 19:26:22 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-01-05 19:26:22 +0300 |
commit | 4cf4fd4d1c413ac782504183ec614aed0ed68fb6 (patch) | |
tree | 6521bc283b7ce4859d926a8e27e5f5e5a50ed7f0 /winsup/cygwin/sigproc.cc | |
parent | 32f0697595b97a07b17f982bb182722a80b388e7 (diff) |
(fix ChangeLog and check in remaining files)
* sigproc.cc (sigproc_init): Move clearing of sync_startup here to lessen the
likelihood of trying to deal with non-cygwin threads in dll_entry.
* fhandler_console: Fix set_console_state_for_spawn comment.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r-- | winsup/cygwin/sigproc.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 46bfc2553..fb45ed917 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -474,6 +474,7 @@ create_signal_arrived () void __stdcall sigproc_init () { + extern HANDLE sync_startup; wait_sig_inited = CreateEvent (&sec_none_nih, TRUE, FALSE, NULL); ProtectHandle (wait_sig_inited); @@ -483,6 +484,7 @@ sigproc_init () sync_proc_subproc.init ("sync_proc_subproc"); my_sendsig = INVALID_HANDLE_VALUE; // changed later + sync_startup = NULL; cygthread *hwait_sig = new cygthread (wait_sig, 0, cygself, "sig"); hwait_sig->zap_h (); |