diff options
author | Christopher Faylor <me@cgf.cx> | 2004-03-16 05:05:22 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-03-16 05:05:22 +0000 |
commit | fbdfd5f8a916990de4c7791e7398120b7e34d6c1 (patch) | |
tree | 1c5dc7818fc58fbc60e13626bacd429608b0c3aa /winsup/cygwin/sigproc.cc | |
parent | e867f8f1d48c59b55f42e222ede2bfa60d1c9786 (diff) | |
download | cygnal-fbdfd5f8a916990de4c7791e7398120b7e34d6c1.tar.gz cygnal-fbdfd5f8a916990de4c7791e7398120b7e34d6c1.tar.bz2 cygnal-fbdfd5f8a916990de4c7791e7398120b7e34d6c1.zip |
* sigproc.cc (proc_terminate): Release sync_proc_subproc when done terminating
or suffer potential hangs.
(get_proc_lock): Reorganize debugging output slightly.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r-- | winsup/cygwin/sigproc.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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"); } |