summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2009-03-12 19:03:32 +0000
committerMatthias Radestock <matthias@lshift.net>2009-03-12 19:03:32 +0000
commit3bb32268a41fd277c68f48bebda4638c40a747d2 (patch)
tree7622fc280547f21e9e043f3f41b9d86e2784c65f
parent1cd250ab0d3b78f167a3242be108bfe799f2e934 (diff)
downloadrabbitmq-server-3bb32268a41fd277c68f48bebda4638c40a747d2.tar.gz
document priority functionality
-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 11ac7987..ba8becfc 100644
--- a/src/gen_server2.erl
+++ b/src/gen_server2.erl
@@ -16,6 +16,11 @@
%% The original code could reorder messages when communicating with a
%% process on a remote node that was not currently connected.
%%
+%% 4) The new functions gen_server2:pcall/3, pcall/4, and pcast/3
+%% allow callers to attach priorities to requests. Requests with
+%% higher priorities are processed before requests with lower
+%% priorities. The default priority is 0.
+%%
%% All modifications are (C) 2009 LShift Ltd.
%% ``The contents of this file are subject to the Erlang Public License,