From fbdfd5f8a916990de4c7791e7398120b7e34d6c1 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 16 Mar 2004 05:05:22 +0000 Subject: * sigproc.cc (proc_terminate): Release sync_proc_subproc when done terminating or suffer potential hangs. (get_proc_lock): Reorganize debugging output slightly. --- winsup/cygwin/sigproc.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'winsup/cygwin/sigproc.cc') diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index c786153a6..a04ea2f60 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -214,7 +214,7 @@ get_proc_lock (DWORD what, DWORD val) sigproc_printf ("sync_proc_subproc is NULL (2)"); return false; } - system_printf ("Couldn't aquire sync_proc_subproc for(%d,%d), %E, last %d", + system_printf ("Couldn't aquire sync_proc_subproc for(%d,%d), last %d, %E", what, val, lastwhat); return true; } @@ -538,6 +538,7 @@ proc_terminate (void) pchildren[i].release (); } nchildren = nzombies = 0; + sync_proc_subproc->release (); } sigproc_printf ("leaving"); } -- cgit v1.2.3