diff options
author | Christopher Faylor <me@cgf.cx> | 2003-09-23 04:02:07 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-09-23 04:02:07 +0000 |
commit | 3400b4fc441b639c751592a9d40775f715fad998 (patch) | |
tree | fc1949dea9c8437ebf89f6168143cc7e88715b01 /winsup/cygwin/sigproc.cc | |
parent | d92d731fa51ccf56bda4ff9010d271b62f774bec (diff) | |
download | cygnal-3400b4fc441b639c751592a9d40775f715fad998.tar.gz cygnal-3400b4fc441b639c751592a9d40775f715fad998.tar.bz2 cygnal-3400b4fc441b639c751592a9d40775f715fad998.zip |
* dcrt0.cc (do_exit): Eliminate "C" linkage. Call events_terminate early.
(exit_states): Move out of source file into header file.
* winsup.h: Move exit_states here. Remove "C" linkage from do_exit
declaration.
* debug.cc (lock_debug): Remove explicit (and incorrect) external for
exit_state.
* sigproc.cc (sig_dispatch_pending): Don't flush signals if exiting.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r-- | winsup/cygwin/sigproc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 6c5393795..dad5c7f8a 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -557,7 +557,7 @@ sigpending (sigset_t *set) extern "C" int __stdcall sig_dispatch_pending () { - if (!hwait_sig || GetCurrentThreadId () == sigtid) + if (exit_state || !hwait_sig || GetCurrentThreadId () == sigtid) return 0; sigframe thisframe (mainthread); |