From 04731323678eff58f709b36f864d12aa08cfe6d9 Mon Sep 17 00:00:00 2001
From: Christopher Faulet
Date: Wed, 14 Sep 2011 17:49:38 +0200
Subject: Explain how dynamic child processes are stopped
---
lib/stdlib/doc/src/supervisor.xml | 4 ++++
1 file changed, 4 insertions(+)
(limited to 'lib/stdlib/doc')
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,
terminate_child/2 will return
{error,simple_one_for_one}.
+ Because a simple_one_for_one 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 Shutdown strategy.
To prevent a supervisor from getting into an infinite loop of
--
cgit v1.2.3