aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-03-31 14:51:56 +0200
committerBjörn Gustavsson <[email protected]>2016-04-01 12:14:25 +0200
commit47f8db4e66950fe9d8c48e31e6230c4073cf5e70 (patch)
tree2b4448814d8586eef730b8842ef750ed698faf99 /lib/kernel
parente31c6633233dc996d2ead18b479458b20e6ee5e8 (diff)
downloadotp-47f8db4e66950fe9d8c48e31e6230c4073cf5e70.tar.gz
otp-47f8db4e66950fe9d8c48e31e6230c4073cf5e70.tar.bz2
otp-47f8db4e66950fe9d8c48e31e6230c4073cf5e70.zip
rpc: Remove functions deprecated in R12B
Diffstat (limited to 'lib/kernel')
-rw-r--r--lib/kernel/doc/src/rpc.xml20
-rw-r--r--lib/kernel/src/rpc.erl25
2 files changed, 0 insertions, 45 deletions
diff --git a/lib/kernel/doc/src/rpc.xml b/lib/kernel/doc/src/rpc.xml
index 032b4fb0c3..be1641ffd9 100644
--- a/lib/kernel/doc/src/rpc.xml
+++ b/lib/kernel/doc/src/rpc.xml
@@ -347,26 +347,6 @@
</func>
<func>
- <name name="safe_multi_server_call" arity="2"/>
- <name name="safe_multi_server_call" arity="3"/>
- <fsummary>Interact with the servers on a number of nodes
- (deprecated).</fsummary>
- <desc>
- <warning>
- <p>Deprecated. Use
- <seealso marker="#multi_server_call/2"><c>multi_server_call/2,3</c></seealso>
- instead.</p>
- </warning>
- <p>In Erlang/OTP R6B and earlier releases,
- <c>multi_server_call/2,3</c> could not handle the case
- where the remote node exists, but there is no server called
- <c><anno>Name</anno></c>. Instead, this function had to be used. In
- Erlang/OTP R7B and later releases, however, the functions are
- equivalent, except that this function is slightly slower.</p>
- </desc>
- </func>
-
- <func>
<name name="sbcast" arity="2"/>
<fsummary>Broadcast a message synchronously to a registered process on
all nodes.</fsummary>
diff --git a/lib/kernel/src/rpc.erl b/lib/kernel/src/rpc.erl
index b9284487d2..0e1e3f070c 100644
--- a/lib/kernel/src/rpc.erl
+++ b/lib/kernel/src/rpc.erl
@@ -52,10 +52,6 @@
parallel_eval/1,
pmap/3, pinfo/1, pinfo/2]).
-%% Deprecated calls.
--deprecated([{safe_multi_server_call,2},{safe_multi_server_call,3}]).
--export([safe_multi_server_call/2,safe_multi_server_call/3]).
-
%% gen_server exports
-export([init/1, handle_call/3, handle_cast/2, handle_info/2,
terminate/2, code_change/3]).
@@ -591,27 +587,6 @@ multi_server_call(Nodes, Name, Msg)
Monitors = send_nodes(Nodes, Name, Msg, []),
rec_nodes(Name, Monitors).
-%% Deprecated functions. Were only needed when communicating with R6 nodes.
-
--spec safe_multi_server_call(Name, Msg) -> {Replies, BadNodes} when
- Name :: atom(),
- Msg :: term(),
- Replies :: [Reply :: term()],
- BadNodes :: [node()].
-
-safe_multi_server_call(Name, Msg) ->
- multi_server_call(Name, Msg).
-
--spec safe_multi_server_call(Nodes, Name, Msg) -> {Replies, BadNodes} when
- Nodes :: [node()],
- Name :: atom(),
- Msg :: term(),
- Replies :: [Reply :: term()],
- BadNodes :: [node()].
-
-safe_multi_server_call(Nodes, Name, Msg) ->
- multi_server_call(Nodes, Name, Msg).
-
rec_nodes(Name, Nodes) ->
rec_nodes(Name, Nodes, [], []).