* sigproc.cc (proc_terminate): Release sync_proc_subproc when done terminating
or suffer potential hangs. (get_proc_lock): Reorganize debugging output slightly.
This commit is contained in:
parent
e867f8f1d4
commit
fbdfd5f8a9
@ -1,3 +1,9 @@
|
||||
2004-03-16 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* sigproc.cc (proc_terminate): Release sync_proc_subproc when done
|
||||
terminating or suffer potential hangs.
|
||||
(get_proc_lock): Reorganize debugging output slightly.
|
||||
|
||||
2004-03-15 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* cygtls.cc (_cygtls::fixup_after_fork): Just manipulate the signal
|
||||
|
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user