* sigproc.cc (no_signals_available): Don't try to send a signal if still in

cygwin startup code.
This commit is contained in:
Christopher Faylor 2010-03-15 15:31:32 +00:00
parent 90db0fb024
commit d1ef5f33e6
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-03-15 Christopher Faylor <me+cygwin@cgf.cx>
* sigproc.cc (no_signals_available): Don't try to send a signal if
still in cygwin startup code.
2010-03-13 Christopher Faylor <me+cygwin@cgf.cx>
* spinlock.h: New file.

View File

@ -33,7 +33,7 @@ details. */
#define WSSC 60000 // Wait for signal completion
#define WPSP 40000 // Wait for proc_subproc mutex
#define no_signals_available(x) (!hwait_sig || hwait_sig == INVALID_HANDLE_VALUE || ((x) && myself->exitcode & EXITCODE_SET) || &_my_tls == _sig_tls)
#define no_signals_available(x) (!hwait_sig || hwait_sig == INVALID_HANDLE_VALUE || ((x) && myself->exitcode & EXITCODE_SET) || &_my_tls == _sig_tls && cygwin_finished_initializing)
#define NPROCS 256