diff options
author | Christopher Faylor <me@cgf.cx> | 2004-09-20 04:58:36 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-09-20 04:58:36 +0000 |
commit | e58412a2a028e269d8b5149aff8bc8520081d177 (patch) | |
tree | 589659393d9639bee278deb076c7986fde496e71 /winsup/cygwin/sigproc.cc | |
parent | f777a1d0541bb3aa124f5a9261142beb3f155d26 (diff) | |
download | cygnal-e58412a2a028e269d8b5149aff8bc8520081d177.tar.gz cygnal-e58412a2a028e269d8b5149aff8bc8520081d177.tar.bz2 cygnal-e58412a2a028e269d8b5149aff8bc8520081d177.zip |
* exceptions.cc (sig_handle_tty_stop): Set flag that we are in a cygwin
function to avoid a probably erroneous stack walk.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r-- | winsup/cygwin/sigproc.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 2ab97698f..416761ee6 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -1182,6 +1182,8 @@ wait_sig (VOID *self) else { int sig = pack.si.si_signo; + // FIXME: Not quite right when taking threads into consideration. + // Do we need a per-thread queue? if (sigq.sigs[sig].si.si_signo) sigproc_printf ("sig %d already queued", pack.si.si_signo); else |