From d3bda1df95dd1e368ec03b1a1b9e3f0260b4cbfc Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 24 Feb 2000 19:54:01 +0000 Subject: * exceptions.cc (call_handler): Use new muto linked list to look for all potential mutos owned by suspended thread. Clear waiting threads while thread is stopped. (proc_subproc): Clarify debugging output. * sync.h (class muto): Add 'next' field. (new_muto): Keep linked list alive. --- winsup/cygwin/sigproc.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'winsup/cygwin/sigproc.cc') diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 7c1f449ed..9698a2362 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -333,7 +333,10 @@ proc_subproc (DWORD what, DWORD val) */ case PROC_CLEARWAIT: /* Clear all "wait"ing threads. */ - sip_printf ("clear waiting threads"); + if (val) + sip_printf ("clear waiting threads"); + else + sip_printf ("looking for processes to reap"); clearing = val; scan_wait: -- cgit v1.2.3