diff options
author | Raimo Niskanen <[email protected]> | 2016-03-03 10:54:01 +0100 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2016-03-03 11:24:43 +0100 |
commit | d840b24857a1d54419953661f70716c449c11864 (patch) | |
tree | 1758a8091cc168188b63192914c3c0dced3c6318 /system/doc/design_principles/sup_princ.xml | |
parent | 9dfb4e6cf574870ac6e6a5a2a507c989c64e7525 (diff) | |
download | otp-d840b24857a1d54419953661f70716c449c11864.tar.gz otp-d840b24857a1d54419953661f70716c449c11864.tar.bz2 otp-d840b24857a1d54419953661f70716c449c11864.zip |
Fix most of the system docs and emacs mode
Diffstat (limited to 'system/doc/design_principles/sup_princ.xml')
-rw-r--r-- | system/doc/design_principles/sup_princ.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/system/doc/design_principles/sup_princ.xml b/system/doc/design_principles/sup_princ.xml index 5e2f6ba9cb..a6b7dbb68d 100644 --- a/system/doc/design_principles/sup_princ.xml +++ b/system/doc/design_principles/sup_princ.xml @@ -4,7 +4,7 @@ <chapter> <header> <copyright> - <year>1997</year><year>2014</year> + <year>1997</year><year>2016</year> <holder>Ericsson AB. All Rights Reserved.</holder> </copyright> <legalnotice> @@ -213,6 +213,7 @@ child_spec() = #{id => child_id(), % mandatory <item><c>supervisor:start_link</c></item> <item><c>gen_server:start_link</c></item> <item><c>gen_fsm:start_link</c></item> + <item><c>gen_statem:start_link</c></item> <item><c>gen_event:start_link</c></item> <item>A function compliant with these functions. For details, see the <c>supervisor(3)</c> manual page.</item> @@ -276,7 +277,8 @@ child_spec() = #{id => child_id(), % mandatory <p><c>modules</c> are to be a list with one element <c>[Module]</c>, where <c>Module</c> is the name of the callback module, if the child process is a supervisor, - gen_server or gen_fsm. If the child process is a gen_event, + gen_server, gen_fsm or gen_statem. + If the child process is a gen_event, the value shall be <c>dynamic</c>.</p> <p>This information is used by the release handler during upgrades and downgrades, see |