summaryrefslogtreecommitdiff
path: root/lib/stdlib/doc/src/supervisor.xml
diff options
context:
space:
mode:
authorChristopher Faulet <christopher@yakaz.com>2011-09-14 17:49:38 +0200
committerHenrik Nord <henrik@erlang.org>2011-09-16 14:54:44 +0200
commit04731323678eff58f709b36f864d12aa08cfe6d9 (patch)
tree2c1646f7d690358e284296360d1da985a83228f8 /lib/stdlib/doc/src/supervisor.xml
parent42c581ddefd332fcadea696b5b2bedcdd575f14a (diff)
downloaderlang-04731323678eff58f709b36f864d12aa08cfe6d9.tar.gz
Explain how dynamic child processes are stopped
Diffstat (limited to 'lib/stdlib/doc/src/supervisor.xml')
-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 b4e81aba1f..9cc9b69dd9 100644
--- a/lib/stdlib/doc/src/supervisor.xml
+++ b/lib/stdlib/doc/src/supervisor.xml
@@ -94,6 +94,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