diff options
author | Henrik Nord <[email protected]> | 2011-10-20 14:39:42 +0200 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2011-10-20 14:39:42 +0200 |
commit | 45b4d5309e0686cc5fa28506de76f75b598bbd95 (patch) | |
tree | bd4d54a6de38654f49908b38c311718b74593a33 /system/doc/design_principles/sup_princ.xml | |
parent | e21bc712b95b878afd9ab3d93ac27ded0bce7ccf (diff) | |
parent | 04731323678eff58f709b36f864d12aa08cfe6d9 (diff) | |
download | otp-45b4d5309e0686cc5fa28506de76f75b598bbd95.tar.gz otp-45b4d5309e0686cc5fa28506de76f75b598bbd95.tar.bz2 otp-45b4d5309e0686cc5fa28506de76f75b598bbd95.zip |
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 'system/doc/design_principles/sup_princ.xml')
-rw-r--r-- | system/doc/design_principles/sup_princ.xml | 4 |
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 9e7cc2f543..a432f9458b 100644 --- a/system/doc/design_principles/sup_princ.xml +++ b/system/doc/design_principles/sup_princ.xml @@ -349,6 +349,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> |