diff options
author | Siri Hansen <[email protected]> | 2018-06-13 13:55:42 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2018-06-13 13:55:42 +0200 |
commit | d0252a3cef9330eb0d8cc252cce79f6f8df26e03 (patch) | |
tree | a7f75ae939076a1e54213b3db883fd3478097548 /erts | |
parent | e754f23ead59f8592f3a1cbb66e22cfdba73517d (diff) | |
parent | b0900fc2f7daab1c77dd8878c39ab24591bb076b (diff) | |
download | otp-d0252a3cef9330eb0d8cc252cce79f6f8df26e03.tar.gz otp-d0252a3cef9330eb0d8cc252cce79f6f8df26e03.tar.bz2 otp-d0252a3cef9330eb0d8cc252cce79f6f8df26e03.zip |
Merge pull request #1771 from fxn/master
Explain why the AM becomes group leader
Diffstat (limited to 'erts')
-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> |