* 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:
parent
74f5d7104b
commit
6a53b21360
|
@ -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>
|
2005-08-28 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* cygtls.h (__ljfault): Declare.
|
* cygtls.h (__ljfault): Declare.
|
||||||
|
|
|
@ -978,8 +978,10 @@ set_process_mask_delta ()
|
||||||
extern "C" void __stdcall
|
extern "C" void __stdcall
|
||||||
set_signal_mask (sigset_t newmask, sigset_t& oldmask)
|
set_signal_mask (sigset_t newmask, sigset_t& oldmask)
|
||||||
{
|
{
|
||||||
|
#ifdef CGF
|
||||||
if (GetCurrentThreadId () == sigtid)
|
if (GetCurrentThreadId () == sigtid)
|
||||||
small_printf ("********* waiting in signal thread\n");
|
small_printf ("********* waiting in signal thread\n");
|
||||||
|
#endif
|
||||||
mask_sync.acquire (INFINITE);
|
mask_sync.acquire (INFINITE);
|
||||||
newmask &= ~SIG_NONMASKABLE;
|
newmask &= ~SIG_NONMASKABLE;
|
||||||
sigset_t mask_bits = oldmask & ~newmask;
|
sigset_t mask_bits = oldmask & ~newmask;
|
||||||
|
|
|
@ -306,7 +306,7 @@ proc_subproc (DWORD what, DWORD val)
|
||||||
if (val)
|
if (val)
|
||||||
sigproc_printf ("clear waiting threads");
|
sigproc_printf ("clear waiting threads");
|
||||||
else
|
else
|
||||||
sigproc_printf ("looking for processes to reap");
|
sigproc_printf ("looking for processes to reap, nprocs %d", nprocs);
|
||||||
clearing = val;
|
clearing = val;
|
||||||
|
|
||||||
scan_wait:
|
scan_wait:
|
||||||
|
|
Loading…
Reference in New Issue