summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/sigproc.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-02-24 19:54:01 +0000
committerChristopher Faylor <me@cgf.cx>2000-02-24 19:54:01 +0000
commitd3bda1df95dd1e368ec03b1a1b9e3f0260b4cbfc (patch)
treefae6cee1f065d106fc2fe2e731d238973b4125fc /winsup/cygwin/sigproc.cc
parent4bc3b73cfde68ab05ce7351cf57156ece6433548 (diff)
downloadcygnal-d3bda1df95dd1e368ec03b1a1b9e3f0260b4cbfc.tar.gz
cygnal-d3bda1df95dd1e368ec03b1a1b9e3f0260b4cbfc.tar.bz2
cygnal-d3bda1df95dd1e368ec03b1a1b9e3f0260b4cbfc.zip
* 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.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r--winsup/cygwin/sigproc.cc5
1 files changed, 4 insertions, 1 deletions
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: