summaryrefslogtreecommitdiff
path: root/lib/stdlib/doc
diff options
context:
space:
mode:
authorHenrik Nord <henrik@erlang.org>2011-10-20 14:39:42 +0200
committerHenrik Nord <henrik@erlang.org>2011-10-20 14:39:42 +0200
commit45b4d5309e0686cc5fa28506de76f75b598bbd95 (patch)
treebd4d54a6de38654f49908b38c311718b74593a33 /lib/stdlib/doc
parente21bc712b95b878afd9ab3d93ac27ded0bce7ccf (diff)
parent04731323678eff58f709b36f864d12aa08cfe6d9 (diff)
downloaderlang-45b4d5309e0686cc5fa28506de76f75b598bbd95.tar.gz
Merge branch 'cf/simple_one_for_one_shutdown'
* cf/simple_one_for_one_shutdown: Explain how dynamic child processes are stopped Stack errors when dynamic children are stopped Explicitly kill dynamic children in supervisors Conflicts: lib/stdlib/doc/src/supervisor.xml OTP-9647
Diffstat (limited to 'lib/stdlib/doc')
-rw-r--r--lib/stdlib/doc/src/supervisor.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/stdlib/doc/src/supervisor.xml b/lib/stdlib/doc/src/supervisor.xml
index 54e7cab884..30514dfee9 100644
--- a/lib/stdlib/doc/src/supervisor.xml
+++ b/lib/stdlib/doc/src/supervisor.xml
@@ -93,6 +93,10 @@
instead the child specification identifier is used,
<c>terminate_child/2</c> will return
<c>{error,simple_one_for_one}</c>.</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>
</item>
</list>
<p>To prevent a supervisor from getting into an infinite loop of