aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc/design_principles
diff options
context:
space:
mode:
authorChristopher Faulet <[email protected]>2011-09-14 17:49:38 +0200
committerHenrik Nord <[email protected]>2011-09-16 14:54:44 +0200
commit04731323678eff58f709b36f864d12aa08cfe6d9 (patch)
tree2c1646f7d690358e284296360d1da985a83228f8 /system/doc/design_principles
parent42c581ddefd332fcadea696b5b2bedcdd575f14a (diff)
downloadotp-04731323678eff58f709b36f864d12aa08cfe6d9.tar.gz
otp-04731323678eff58f709b36f864d12aa08cfe6d9.tar.bz2
otp-04731323678eff58f709b36f864d12aa08cfe6d9.zip
Explain how dynamic child processes are stopped
Diffstat (limited to 'system/doc/design_principles')
-rw-r--r--system/doc/design_principles/sup_princ.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/doc/design_principles/sup_princ.xml b/system/doc/design_principles/sup_princ.xml
index 2748f21bbe..df0777559a 100644
--- a/system/doc/design_principles/sup_princ.xml
+++ b/system/doc/design_principles/sup_princ.xml
@@ -341,6 +341,10 @@ call:start_link(id1)</code>
supervisor:terminate_child(Sup, Pid)</code>
<p>where <c>Sup</c> is the pid, or name, of the supervisor and
<c>Pid</c> is the pid of the child.</p>
+ <p>Because a <c>simple_one_for_one</c> supervisor could have many children,
+ it shuts them all down at same time. So, order in which they are stopped is
+ not defined. For the same reason, it could have an overhead with regards to
+ the <c>Shutdown</c> strategy.</p>
</section>
<section>