(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.
This commit is contained in:
Christopher Faylor
2006-01-05 16:26:22 +00:00
parent 32f0697595
commit 4cf4fd4d1c
4 changed files with 10 additions and 2 deletions

View File

@ -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 ();