aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_init.c
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2017-02-01 18:32:25 +0100
committerErlang/OTP <[email protected]>2017-02-01 18:32:25 +0100
commitf74baa361cf8b3af437f75aa1ec5a1886005261c (patch)
tree980dc39ff175b15ff4b2812af658da4e90de9154 /erts/emulator/beam/erl_init.c
parent8816cb5bc1befbe41f4cef5441d0ac39e49c19fd (diff)
parentc46ba734b6787e254b45b35ea135fc2da23190bb (diff)
downloadotp-f74baa361cf8b3af437f75aa1ec5a1886005261c.tar.gz
otp-f74baa361cf8b3af437f75aa1ec5a1886005261c.tar.bz2
otp-f74baa361cf8b3af437f75aa1ec5a1886005261c.zip
Merge branch 'egil/erts/fix_scheduler_suspend/ERL-94/PR-978/OTP-13425' into maint-18
* egil/erts/fix_scheduler_suspend/ERL-94/PR-978/OTP-13425: erts: Fix install of suspend handler
Diffstat (limited to 'erts/emulator/beam/erl_init.c')
-rw-r--r--erts/emulator/beam/erl_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_init.c b/erts/emulator/beam/erl_init.c
index b4d5bf8fb6..8b85613e18 100644
--- a/erts/emulator/beam/erl_init.c
+++ b/erts/emulator/beam/erl_init.c
@@ -2134,6 +2134,7 @@ erl_start(int argc, char **argv)
init_break_handler();
if (replace_intr)
erts_replace_intr();
+ sys_init_suspend_handler();
#endif
boot_argc = argc - i; /* Number of arguments to init */