From e58412a2a028e269d8b5149aff8bc8520081d177 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 20 Sep 2004 04:58:36 +0000 Subject: * exceptions.cc (sig_handle_tty_stop): Set flag that we are in a cygwin function to avoid a probably erroneous stack walk. --- winsup/cygwin/sigproc.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'winsup/cygwin/sigproc.cc') 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 -- cgit v1.2.3