* dcrt0.cc (dll_crt0_1): Comment assumption.

* exceptions.cc (sigpacket::setup_handler): Avoid sending signals during fork
processing.
This commit is contained in:
Christopher Faylor
2013-01-21 17:17:44 +00:00
parent 3b1a8c572f
commit 93ff4bbee0
3 changed files with 12 additions and 0 deletions

View File

@ -789,6 +789,10 @@ sigpacket::setup_handler (void *handler, struct sigaction& siga, _cygtls *tls)
goto out;
}
while (in_forkee)
yield (); /* Won't be able to send signals until we're finished
processing fork(). */
for (int n = 0; n < CALL_HANDLER_RETRY_OUTER; n++)
{
for (int i = 0; i < CALL_HANDLER_RETRY_INNER; i++)