summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/child_info.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-03-15 00:29:14 +0000
committerChristopher Faylor <me@cgf.cx>2006-03-15 00:29:14 +0000
commitf02400f7c9db8176a7cc49eb8e4b6450ae5901c2 (patch)
tree0743a8f834f02fa2e76e6eb521894e63b23d6ce0 /winsup/cygwin/child_info.h
parent67f85ee7b2d2a7bd531cb82c84dc3eea0f397ab2 (diff)
downloadcygnal-f02400f7c9db8176a7cc49eb8e4b6450ae5901c2.tar.gz
cygnal-f02400f7c9db8176a7cc49eb8e4b6450ae5901c2.tar.bz2
cygnal-f02400f7c9db8176a7cc49eb8e4b6450ae5901c2.zip
* child_info.h (child_info_fork::fork_retry): Declare new function.
* dcrt0.cc (child_info_fork::fork_retry): Define new function. * fork.cc (frok::parent): Move retry decision into child_info_fork::fork_retry and honor what it tells us to do. * sigproc.cc (sig_send): Unhold signals on __SIGEXIT.
Diffstat (limited to 'winsup/cygwin/child_info.h')
-rw-r--r--winsup/cygwin/child_info.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/child_info.h b/winsup/cygwin/child_info.h
index 03e8af58f..87da6e453 100644
--- a/winsup/cygwin/child_info.h
+++ b/winsup/cygwin/child_info.h
@@ -29,7 +29,7 @@ enum child_info_types
#define EXEC_MAGIC_SIZE sizeof(child_info)
-#define CURR_CHILD_INFO_MAGIC 0x4160e87bU
+#define CURR_CHILD_INFO_MAGIC 0x88e640f7U
/* NOTE: Do not make gratuitous changes to the names or organization of the
below class. The layout is checksummed to determine compatibility between
@@ -72,6 +72,7 @@ public:
child_info_fork ();
void handle_fork ();
bool handle_failure (DWORD);
+ DWORD fork_retry (HANDLE);
};
class fhandler_base;