diff options
author | Sverker Eriksson <[email protected]> | 2017-08-18 17:08:27 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-11-15 20:10:33 +0100 |
commit | 389e11b8b8a476ca73ca03a39ad7ec298dc99e83 (patch) | |
tree | 45516ad633e015ce2289e6353c81182acc7f9bb7 /erts/preloaded/src/erlang.erl | |
parent | da2935ce340cef5db1b5f589778eb20044796610 (diff) | |
download | otp-389e11b8b8a476ca73ca03a39ad7ec298dc99e83.tar.gz otp-389e11b8b8a476ca73ca03a39ad7ec298dc99e83.tar.bz2 otp-389e11b8b8a476ca73ca03a39ad7ec298dc99e83.zip |
Remove obsolete erlang:dgroup_leader
Diffstat (limited to 'erts/preloaded/src/erlang.erl')
-rw-r--r-- | erts/preloaded/src/erlang.erl | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl index 80601ab067..0aa8dae3e5 100644 --- a/erts/preloaded/src/erlang.erl +++ b/erts/preloaded/src/erlang.erl @@ -31,8 +31,7 @@ -export([localtime_to_universaltime/1]). -export([suspend_process/1]). -export([min/2, max/2]). --export([dgroup_leader/2, - dmonitor_node/3, dmonitor_p/2]). +-export([dmonitor_node/3, dmonitor_p/2]). -export([delay_trap/2]). -export([set_cookie/2, get_cookie/0]). -export([nodes/0]). @@ -3296,13 +3295,6 @@ dmonitor_node(Node, Flag, Opts) -> dmonitor_node(Node,Flag,[]) end. -dgroup_leader(Leader, Pid) -> - case net_kernel:connect(erlang:node(Pid)) of - true -> erlang:group_leader(Leader, Pid); - false -> true %% bad arg ? - end. - - -spec erlang:dmonitor_p('process', pid() | {atom(),atom()}) -> reference(). dmonitor_p(process, ProcSpec) -> %% Only called when auto-connect attempt failed early in VM |