* 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

@ -1,3 +1,9 @@
2005-08-28 Christopher Faylor <cgf@timesys.com>
* exceptions.cc (set_process_mask_delta): Conditionalize debugging
output.
* sigproc.cc (proc_subproc): Make strace output a little more verbose.
2005-08-28 Christopher Faylor <cgf@timesys.com>
* cygtls.h (__ljfault): Declare.

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;

View File

@ -306,7 +306,7 @@ proc_subproc (DWORD what, DWORD val)
if (val)
sigproc_printf ("clear waiting threads");
else
sigproc_printf ("looking for processes to reap");
sigproc_printf ("looking for processes to reap, nprocs %d", nprocs);
clearing = val;
scan_wait: