diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/supervisor2.erl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/supervisor2.erl b/src/supervisor2.erl index 251d0d510b..0da00e580d 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. |
