diff options
author | Sverker Eriksson <[email protected]> | 2017-08-15 17:12:02 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-11-15 20:10:33 +0100 |
commit | da2935ce340cef5db1b5f589778eb20044796610 (patch) | |
tree | a6575724b3803af099381d6b8aec598c44f9d602 /erts/preloaded | |
parent | 5ad822ccfd841400bc44cb53acc6a0889ca3f128 (diff) | |
download | otp-da2935ce340cef5db1b5f589778eb20044796610.tar.gz otp-da2935ce340cef5db1b5f589778eb20044796610.tar.bz2 otp-da2935ce340cef5db1b5f589778eb20044796610.zip |
Remove obsolete erlang:dexit/2
Diffstat (limited to 'erts/preloaded')
-rw-r--r-- | erts/preloaded/src/erlang.erl | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl index 43ac8a6f26..80601ab067 100644 --- a/erts/preloaded/src/erlang.erl +++ b/erts/preloaded/src/erlang.erl @@ -32,7 +32,7 @@ -export([suspend_process/1]). -export([min/2, max/2]). -export([dgroup_leader/2, - dexit/2, dmonitor_node/3, dmonitor_p/2]). + dmonitor_node/3, dmonitor_p/2]). -export([delay_trap/2]). -export([set_cookie/2, get_cookie/0]). -export([nodes/0]). @@ -3302,12 +3302,6 @@ dgroup_leader(Leader, Pid) -> false -> true %% bad arg ? end. -dexit(Pid, Reason) -> - case net_kernel:connect(erlang:node(Pid)) of - true -> erlang:exit(Pid, Reason); - false -> true - end. - -spec erlang:dmonitor_p('process', pid() | {atom(),atom()}) -> reference(). dmonitor_p(process, ProcSpec) -> |