* dcrt0.cc (dll_crt0_1): Create vfork main storage here so that it can be

queried in waitsig later.
* sigproc.cc (wait_sig): Don't deliver a signal if in a vfork.
* fork.cc (vfork): Deliver all signals on parent return from vfork.
This commit is contained in:
Christopher Faylor
2001-09-15 00:47:44 +00:00
parent bf0338856a
commit 9661a0c8b7
7 changed files with 46 additions and 19 deletions

View File

@@ -75,7 +75,8 @@ public:
}
sigframe (): st (NULL) {}
sigframe (sigthread &t, DWORD ebp = (DWORD) __builtin_frame_address (0))
sigframe (sigthread &t, DWORD ebp = (DWORD) __builtin_frame_address (0)) {init (t, ebp);}
void init (sigthread &t, DWORD ebp = (DWORD) __builtin_frame_address (0))
{
if (!t.frame && t.id == GetCurrentThreadId ())
set (t, ebp);