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/perthread.h | |
parent | bf0338856a38f856195d3d517fa5067357ed2f9d (diff) | |
download | cygnal-9661a0c8b7f59960d6d180ffa2872710f5253913.tar.gz cygnal-9661a0c8b7f59960d6d180ffa2872710f5253913.tar.bz2 cygnal-9661a0c8b7f59960d6d180ffa2872710f5253913.zip |
* 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/perthread.h')
-rw-r--r-- | winsup/cygwin/perthread.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/perthread.h b/winsup/cygwin/perthread.h index 889a5d8c4..185cc04d6 100644 --- a/winsup/cygwin/perthread.h +++ b/winsup/cygwin/perthread.h @@ -68,7 +68,7 @@ public: size_t size () {return sizeof (waitq);} }; -#ifdef NEED_VFORK +#if defined (NEED_VFORK) struct vfork_save { int pid; @@ -87,6 +87,7 @@ public: size_t size () {return sizeof (vfork_save);} }; extern per_thread_vfork vfork_storage; +extern vfork_save *main_vfork; #endif extern "C" { |