diff options
author | Xavier Noria <[email protected]> | 2018-04-05 01:40:20 +0200 |
---|---|---|
committer | Xavier Noria <[email protected]> | 2018-06-13 12:04:08 +0200 |
commit | b0900fc2f7daab1c77dd8878c39ab24591bb076b (patch) | |
tree | a7f75ae939076a1e54213b3db883fd3478097548 /erts/doc/src/erlang.xml | |
parent | e754f23ead59f8592f3a1cbb66e22cfdba73517d (diff) | |
download | otp-b0900fc2f7daab1c77dd8878c39ab24591bb076b.tar.gz otp-b0900fc2f7daab1c77dd8878c39ab24591bb076b.tar.bz2 otp-b0900fc2f7daab1c77dd8878c39ab24591bb076b.zip |
Explain why the AM becomes group leader
Diffstat (limited to 'erts/doc/src/erlang.xml')
-rw-r--r-- | erts/doc/src/erlang.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml index 1b973cd60e..984072076c 100644 --- a/erts/doc/src/erlang.xml +++ b/erts/doc/src/erlang.xml @@ -2068,8 +2068,15 @@ end</pre> Typically, this is used when a process started from a certain shell is to have another group leader than <c>init</c>.</p> + <p>The group leader should be rarely changed in + applications with a supervision tree, because OTP + assumes the group leader of their processes is + their application master.</p> <p>See also - <seealso marker="#group_leader/0"><c>group_leader/0</c></seealso>.</p> + <seealso marker="#group_leader/0"><c>group_leader/0</c></seealso> + and <seealso marker="doc/design_principles:applications#stopping">OTP + design principles</seealso> related to starting and stopping + applications.</p> </desc> </func> |