diff options
author | Anton N Ryabkov <[email protected]> | 2017-04-24 13:41:59 +0700 |
---|---|---|
committer | Anton N Ryabkov <[email protected]> | 2017-05-02 08:34:17 +0700 |
commit | 38294da512781e44b44b9331bf613003397d529b (patch) | |
tree | b4b927dea780ad6f1542372c05d106b64ad1afb8 /lib/stdlib/doc/src/gen_statem.xml | |
parent | 063bebc88358f66cea17e3cf777b8b561a5f14c0 (diff) | |
download | otp-38294da512781e44b44b9331bf613003397d529b.tar.gz otp-38294da512781e44b44b9331bf613003397d529b.tar.bz2 otp-38294da512781e44b44b9331bf613003397d529b.zip |
"auto_hibernate_timeout" option renamed to "hibernate_after".
It was done because "hibernate_after" option already used in ssl for the same reason.
Diffstat (limited to 'lib/stdlib/doc/src/gen_statem.xml')
-rw-r--r-- | lib/stdlib/doc/src/gen_statem.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/stdlib/doc/src/gen_statem.xml b/lib/stdlib/doc/src/gen_statem.xml index 9405868c78..1aac88c308 100644 --- a/lib/stdlib/doc/src/gen_statem.xml +++ b/lib/stdlib/doc/src/gen_statem.xml @@ -453,15 +453,15 @@ handle_event(_, _, State, Data) -> </desc> </datatype> <datatype> - <name name="auto_hibernate_timeout_opt"/> + <name name="hibernate_after_opt"/> <desc> <p> - auto_hibernate_timeout option that can be used when starting + hibernate_after option that can be used when starting a <c>gen_statem</c> server through, <seealso marker="#enter_loop/4"><c>enter_loop/4-6</c></seealso>. </p> - <p>If option<seealso marker="#type-auto_hibernate_timeout_opt"><c>{auto_hibernate_timeout,AutoHibernateTimeout}</c></seealso> is present, the <c>gen_statem</c> - process awaits any message for <c>AutoHibernateTimeout</c> milliseconds and + <p>If option<seealso marker="#type-hibernate_after_opt"><c>{hibernate_after,HibernateAfterTimeout}</c></seealso> is present, the <c>gen_statem</c> + process awaits any message for <c>HibernateAfterTimeout</c> milliseconds and if no message is received, the process goes into hibernation automatically (by calling <seealso marker="proc_lib#hibernate/3"><c>proc_lib:hibernate/3</c></seealso>). </p> @@ -1566,8 +1566,8 @@ handle_event(_, _, State, Data) -> </p> </item> <item> - <p>If option<seealso marker="#type-auto_hibernate_timeout_opt"><c>{auto_hibernate_timeout,AutoHibernateTimeout}</c></seealso> is present, the <c>gen_statem</c> - process awaits any message for <c>AutoHibernateTimeout</c> milliseconds and + <p>If option<seealso marker="#type-hibernate_after_opt"><c>{hibernate_after,HibernateAfterTimeout}</c></seealso> is present, the <c>gen_statem</c> + process awaits any message for <c>HibernateAfterTimeout</c> milliseconds and if no message is received, the process goes into hibernation automatically (by calling <seealso marker="proc_lib#hibernate/3"><c>proc_lib:hibernate/3</c></seealso>). </p> |