aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2017-01-25 11:33:31 +0100
committerBjörn-Egil Dahlberg <[email protected]>2017-01-25 11:33:31 +0100
commit1706f9302887cf238862fb7d92ca8d77fcef71d3 (patch)
tree5c505a15e04766824c29d80d7bc87d2ca4e6d74a /erts/emulator/sys
parentc2a833811c768fc38b51a5241f55eb25786ac13e (diff)
parent1623d7a85908221a118356bec64693901405659d (diff)
downloadotp-1706f9302887cf238862fb7d92ca8d77fcef71d3.tar.gz
otp-1706f9302887cf238862fb7d92ca8d77fcef71d3.tar.bz2
otp-1706f9302887cf238862fb7d92ca8d77fcef71d3.zip
Merge branch 'egil/erts/fix-crashdump-suspend/OTP-14164' into maint
* egil/erts/fix-crashdump-suspend/OTP-14164: erts: Fix thread suspend in crashdump
Diffstat (limited to 'erts/emulator/sys')
-rw-r--r--erts/emulator/sys/unix/sys.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/erts/emulator/sys/unix/sys.c b/erts/emulator/sys/unix/sys.c
index 2fc802a2c6..e135dbff99 100644
--- a/erts/emulator/sys/unix/sys.c
+++ b/erts/emulator/sys/unix/sys.c
@@ -119,9 +119,8 @@ erts_smp_atomic_t sys_misc_mem_sz;
static void smp_sig_notify(char c);
static int sig_notify_fds[2] = {-1, -1};
-#if !defined(ETHR_UNUSABLE_SIGUSRX) && defined(ERTS_THR_HAVE_SIG_FUNCS)
+#ifdef ERTS_SYS_SUSPEND_SIGNAL
static int sig_suspend_fds[2] = {-1, -1};
-#define ERTS_SYS_SUSPEND_SIGNAL SIGUSR2
#endif
#endif