* pinfo.cc (set_myself): Add build date to strace output.

* sigproc.cc (proc_subproc): Only clear wait event when not attending to a
signal.
This commit is contained in:
Christopher Faylor
2000-02-28 16:25:34 +00:00
parent 297b7a63c8
commit 716254905c
3 changed files with 12 additions and 1 deletions

View File

@@ -354,9 +354,10 @@ proc_subproc (DWORD what, DWORD val)
{
sip_printf ("waiting thread found no children");
HANDLE oldw = w->next->ev;
w->next->ev = NULL;
if (clearing)
w->next->status = -1; /* flag that a signal was received */
else
w->next->ev = NULL;
if (!SetEvent (oldw))
system_printf ("couldn't wake up wait event %p, %E", oldw);
w->next = w->next->next;