diff options
author | Christopher Faylor <me@cgf.cx> | 2012-12-07 21:23:22 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2012-12-07 21:23:22 +0400 |
commit | 9873ac53d7a52f96784a98098d78b71677e6599c (patch) | |
tree | 82ecd90419401778802a54aba63323a3e439d6a1 /winsup/cygwin/exceptions.cc | |
parent | a4f34961d862421a174505cb79306d29d73bb9db (diff) |
* cygtls.h (_cygtls::get_signal_arrived): Add parameter to make lock/unlock
conditional.
* exceptions.cc (_cygtls::interrupt_setup): Don't get a lock when setting
signal_arrived since we already have one.
* gendef: Add some comments to make it easier to find functions.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 5ec0f2c71..c04e35af7 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -799,7 +799,7 @@ _cygtls::interrupt_setup (siginfo_t& si, void *handler, struct sigaction& siga) this->sig = si.si_signo; // Should always be last thing set to avoid a race if (incyg) - SetEvent (get_signal_arrived ()); + SetEvent (get_signal_arrived (false)); proc_subproc (PROC_CLEARWAIT, 1); sigproc_printf ("armed signal_arrived %p, signal %d", signal_arrived, si.si_signo); |