aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc/design_principles/fsm.xml
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2016-04-22 15:18:07 +0200
committerRaimo Niskanen <[email protected]>2016-04-22 15:18:07 +0200
commitb54d82fea10c24359d2a315668b6176fc47963b7 (patch)
treef60a8260cd4225e99b31044ddddddb7d5a45e4be /system/doc/design_principles/fsm.xml
parent26b3c7d60d52d8a7be006b06d856bb0f7276e77a (diff)
downloadotp-b54d82fea10c24359d2a315668b6176fc47963b7.tar.gz
otp-b54d82fea10c24359d2a315668b6176fc47963b7.tar.bz2
otp-b54d82fea10c24359d2a315668b6176fc47963b7.zip
Promote gen_statem over gen_fsm
Diffstat (limited to 'system/doc/design_principles/fsm.xml')
-rw-r--r--system/doc/design_principles/fsm.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/system/doc/design_principles/fsm.xml b/system/doc/design_principles/fsm.xml
index f58b50cbff..3468f93ae0 100644
--- a/system/doc/design_principles/fsm.xml
+++ b/system/doc/design_principles/fsm.xml
@@ -4,7 +4,7 @@
<chapter>
<header>
<copyright>
- <year>1997</year><year>2013</year>
+ <year>1997</year><year>2016</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
@@ -30,6 +30,16 @@
<file>fsm.xml</file>
</header>
<marker id="gen_fsm behaviour"></marker>
+ <note>
+ <p>
+ There is a new behaviour
+ <seealso marker="gen_statem"><c>gen_statem</c></seealso>
+ that is intended to replace <c>gen_fsm</c> for new code.
+ It has the same features and add some really useful.
+ This module will not be removed for the foreseeable future
+ to keep old state machine implementations running.
+ </p>
+ </note>
<p>This section is to be read with the <c>gen_fsm(3)</c> manual page
in STDLIB, where all interface functions and callback
functions are described in detail.</p>