Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-09-15 04:47:44 +0400
committerChristopher Faylor <me@cgf.cx>2001-09-15 04:47:44 +0400
commit9661a0c8b7f59960d6d180ffa2872710f5253913 (patch)
tree08fad6a660efa6a0b678f417fcb826d02917aa76 /winsup/cygwin/perthread.h
parentbf0338856a38f856195d3d517fa5067357ed2f9d (diff)
* 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.h3
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" {