diff options
author | Björn-Egil Dahlberg <[email protected]> | 2017-01-25 11:33:31 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2017-01-25 11:33:31 +0100 |
commit | 1706f9302887cf238862fb7d92ca8d77fcef71d3 (patch) | |
tree | 5c505a15e04766824c29d80d7bc87d2ca4e6d74a /erts/emulator/beam/sys.h | |
parent | c2a833811c768fc38b51a5241f55eb25786ac13e (diff) | |
parent | 1623d7a85908221a118356bec64693901405659d (diff) | |
download | otp-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/beam/sys.h')
-rw-r--r-- | erts/emulator/beam/sys.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/emulator/beam/sys.h b/erts/emulator/beam/sys.h index 7740dd4373..41a7ff4c16 100644 --- a/erts/emulator/beam/sys.h +++ b/erts/emulator/beam/sys.h @@ -859,9 +859,12 @@ int erts_sys_unsetenv(char *key); char *erts_read_env(char *key); void erts_free_read_env(void *value); +#if defined(ERTS_SMP) #if defined(ERTS_THR_HAVE_SIG_FUNCS) && !defined(ETHR_UNUSABLE_SIGUSRX) extern void sys_thr_resume(erts_tid_t tid); extern void sys_thr_suspend(erts_tid_t tid); +#define ERTS_SYS_SUSPEND_SIGNAL SIGUSR2 +#endif #endif /* utils.c */ |