summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Watson <tim@rabbitmq.com>2012-11-30 11:01:16 +0000
committerTim Watson <tim@rabbitmq.com>2012-11-30 11:01:16 +0000
commit1ad3a10e7ef1ec75bb367af02ebd0b447eaeae41 (patch)
tree79312d31b98974c6a7f13f6a22b38fb565ad4514
parentdcb5df1ee084f3c158812d480e469ae856115dc6 (diff)
downloadrabbitmq-server-1ad3a10e7ef1ec75bb367af02ebd0b447eaeae41.tar.gz
document addition of find_child/2
-rw-r--r--src/supervisor2.erl8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/supervisor2.erl b/src/supervisor2.erl
index 251d0d51..0da00e58 100644
--- a/src/supervisor2.erl
+++ b/src/supervisor2.erl
@@ -3,7 +3,9 @@
%%
%% 1) the module name is supervisor2
%%
-%% 2) child specifications can contain, as the restart type, a tuple
+%% 2) a find_child/2 utility function has been added
+%%
+%% 3) child specifications can contain, as the restart type, a tuple
%% {permanent, Delay} | {transient, Delay} | {intrinsic, Delay}
%% where Delay >= 0 (see point (4) below for intrinsic). The delay,
%% in seconds, indicates what should happen if a child, upon being
@@ -36,14 +38,14 @@
%% perspective it's a normal exit, whilst from supervisor's
%% perspective, it's an abnormal exit.
%%
-%% 3) Added an 'intrinsic' restart type. Like the transient type, this
+%% 4) Added an 'intrinsic' restart type. Like the transient type, this
%% type means the child should only be restarted if the child exits
%% abnormally. Unlike the transient type, if the child exits
%% normally, the supervisor itself also exits normally. If the
%% child is a supervisor and it exits normally (i.e. with reason of
%% 'shutdown') then the child's parent also exits normally.
%%
-%% 4) normal, and {shutdown, _} exit reasons are all treated the same
+%% 5) normal, and {shutdown, _} exit reasons are all treated the same
%% (i.e. are regarded as normal exits)
%%
%% All modifications are (C) 2010-2012 VMware, Inc.