summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/exceptions.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-08-29 03:12:39 +0000
committerChristopher Faylor <me@cgf.cx>2005-08-29 03:12:39 +0000
commit6a53b21360d0306db3ab912daf8f1109ff322fc8 (patch)
tree56c9a4f30b8c6147f741a115ae0b228a3bbe02c3 /winsup/cygwin/exceptions.cc
parent74f5d7104b017d08ab03d5f70695fd83ddedce05 (diff)
downloadcygnal-6a53b21360d0306db3ab912daf8f1109ff322fc8.tar.gz
cygnal-6a53b21360d0306db3ab912daf8f1109ff322fc8.tar.bz2
cygnal-6a53b21360d0306db3ab912daf8f1109ff322fc8.zip
* exceptions.cc (set_process_mask_delta): Conditionalize debugging output.
* sigproc.cc (proc_subproc): Make strace output a little more verbose.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index eaad588bd..852b5019f 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -978,8 +978,10 @@ set_process_mask_delta ()
extern "C" void __stdcall
set_signal_mask (sigset_t newmask, sigset_t& oldmask)
{
+#ifdef CGF
if (GetCurrentThreadId () == sigtid)
small_printf ("********* waiting in signal thread\n");
+#endif
mask_sync.acquire (INFINITE);
newmask &= ~SIG_NONMASKABLE;
sigset_t mask_bits = oldmask & ~newmask;