* exceptions.cc (set_process_mask_delta): Conditionalize debugging output.

* sigproc.cc (proc_subproc): Make strace output a little more verbose.
This commit is contained in:
Christopher Faylor
2005-08-29 03:12:39 +00:00
parent 74f5d7104b
commit 6a53b21360
3 changed files with 9 additions and 1 deletions

View File

@ -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;