diff options
author | Christopher Faylor <me@cgf.cx> | 2001-09-15 00:47:44 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-09-15 00:47:44 +0000 |
commit | 9661a0c8b7f59960d6d180ffa2872710f5253913 (patch) | |
tree | 08fad6a660efa6a0b678f417fcb826d02917aa76 /winsup/cygwin/sigproc.h | |
parent | bf0338856a38f856195d3d517fa5067357ed2f9d (diff) | |
download | newlib-9661a0c8b7f59960d6d180ffa2872710f5253913.zip newlib-9661a0c8b7f59960d6d180ffa2872710f5253913.tar.gz newlib-9661a0c8b7f59960d6d180ffa2872710f5253913.tar.bz2 |
* 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.
Diffstat (limited to 'winsup/cygwin/sigproc.h')
-rw-r--r-- | winsup/cygwin/sigproc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/sigproc.h b/winsup/cygwin/sigproc.h index 38e65fa..0afb027 100644 --- a/winsup/cygwin/sigproc.h +++ b/winsup/cygwin/sigproc.h @@ -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); |