]> sourceware.org Git - newlib-cygwin.git/commitdiff
* sigproc.cc (no_signals_available): Don't try to send a signal if still in
authorChristopher Faylor <me@cgf.cx>
Mon, 15 Mar 2010 15:31:32 +0000 (15:31 +0000)
committerChristopher Faylor <me@cgf.cx>
Mon, 15 Mar 2010 15:31:32 +0000 (15:31 +0000)
cygwin startup code.

winsup/cygwin/ChangeLog
winsup/cygwin/sigproc.cc

index c5713914ce823f31f4591f2aa62a86279402539b..757435b3e692e0606039f8b93a187278141bdd67 100644 (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.
index e84690320fd0dd47393569753fea36519208263e..35491d30bebd996c23aced33177acbbdd5ec4c9e 100644 (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
 
This page took 0.034619 seconds and 5 git commands to generate.