diff options
author | Lukas Larsson <[email protected]> | 2015-10-14 09:56:03 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2015-12-15 10:05:47 +0100 |
commit | 6fc7ccb41da5e9ec4357b40811ad740dd6a3b5b2 (patch) | |
tree | 156706b673d6ee9fd9d87b5fc11619e043f3ab34 /erts/emulator/sys/unix/erl_child_setup.c | |
parent | b96e62d346eea60b2300dce22d8d892387de4681 (diff) | |
download | otp-6fc7ccb41da5e9ec4357b40811ad740dd6a3b5b2.tar.gz otp-6fc7ccb41da5e9ec4357b40811ad740dd6a3b5b2.tar.bz2 otp-6fc7ccb41da5e9ec4357b40811ad740dd6a3b5b2.zip |
erts: Only use forker StackAck on freebsd
Diffstat (limited to 'erts/emulator/sys/unix/erl_child_setup.c')
-rw-r--r-- | erts/emulator/sys/unix/erl_child_setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/sys/unix/erl_child_setup.c b/erts/emulator/sys/unix/erl_child_setup.c index fdffc7f119..998a0d297f 100644 --- a/erts/emulator/sys/unix/erl_child_setup.c +++ b/erts/emulator/sys/unix/erl_child_setup.c @@ -426,9 +426,11 @@ main(int argc, char *argv[]) while (write(pipes[1], &proto, sizeof(proto)) < 0 && errno == EINTR) ; /* remove gcc warning */ +#ifdef FORKER_PROTO_START_ACK proto.action = ErtsSysForkerProtoAction_StartAck; while (write(uds_fd, &proto, sizeof(proto)) < 0 && errno == EINTR) ; /* remove gcc warning */ +#endif sys_sigrelease(SIGCHLD); close(pipes[0]); |