* dcrt0.cc (cygwin_exit): Mark as "noreturn".

* sigproc.cc (child_info::ready): Don't signal parent that we are a cygwin
process if we are dynamically loaded.
This commit is contained in:
Christopher Faylor
2005-07-05 20:20:48 +00:00
parent 57000a5d5c
commit d3b593aa44
3 changed files with 10 additions and 2 deletions

View File

@@ -771,7 +771,9 @@ child_info::ready (bool execed)
return;
}
if (!SetEvent (subproc_ready))
if (dynamically_loaded)
sigproc_printf ("not really ready");
else if (!SetEvent (subproc_ready))
api_fatal ("SetEvent failed");
else
sigproc_printf ("signalled %p that I was ready", subproc_ready);