summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTim Watson <tim@rabbitmq.com>2014-01-28 16:29:20 +0000
committerTim Watson <tim@rabbitmq.com>2014-01-28 16:29:20 +0000
commit656e2861dc19fe0649145598a229ca3d9ee22d62 (patch)
treeb7ecbb1b938232f3b21f8c2dcaf49e8c8b2fa811 /src
parente3159b1f4f2977a9cf6d1e1f9beb4ff3e634e17a (diff)
downloadrabbitmq-server-git-656e2861dc19fe0649145598a229ca3d9ee22d62.tar.gz
Add a note to the gs2 essay
Diffstat (limited to 'src')
-rw-r--r--src/gen_server2.erl5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gen_server2.erl b/src/gen_server2.erl
index 4326a4473c..204a4f9831 100644
--- a/src/gen_server2.erl
+++ b/src/gen_server2.erl
@@ -42,6 +42,11 @@
%% 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