summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2014-01-29 12:32:48 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2014-01-29 12:32:48 +0000
commit600efc0174f2ea0e43fc606b5faaed2d7ad55ffd (patch)
treebcbdfcc5cee6c69c22e5b2294210e683eb6d48a8 /src
parentcf18153da09f9bc6d26d39c3fe4c3656ef1357a2 (diff)
downloadrabbitmq-server-git-600efc0174f2ea0e43fc606b5faaed2d7ad55ffd.tar.gz
move mcall docs to correct place, and improve them
Diffstat (limited to 'src')
-rw-r--r--src/gen_server2.erl13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/gen_server2.erl b/src/gen_server2.erl
index 99cbd3cbdb..43231c3141 100644
--- a/src/gen_server2.erl
+++ b/src/gen_server2.erl
@@ -42,11 +42,6 @@
%% this timeout has occurred, hibernation will occur as normal. Upon
%% awaking, a new current timeout value will be calculated.
%%
-%% 7) an mcall/1 function has been added, to facilitate running
-%% gen_server:call/3 in parallel to multiple servers and awaiting all
-%% the results. This differs from multi_call in that it can operate
-%% on targets on any combination of nodes (or just the local node).
-%%
%% The purpose is that the gen_server2 takes care of adjusting the
%% current timeout value such that the process will increase the
%% timeout value repeatedly if it is unable to sleep for the
@@ -86,6 +81,14 @@
%% process as sys:get_status/1 would). Pass through a function which
%% can be invoked on the state, get back the result. The state is not
%% modified.
+%%
+%% 10) an mcall/1 function has been added, to facilitate running
+%% gen_server:call/3 in parallel to multiple servers and awaiting all
+%% the results. Unlike multi_call, which operates on same-named
+%% processes residing on a list of nodes, it operates on a list of
+%% processes that can be supplied as pid, global name, local name, or
+%% local-name-on-a-particular-node, just as call/3 does.
+%%
%% All modifications are (C) 2009-2013 GoPivotal, Inc.