aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc/src/sys.xml
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2014-05-07 11:17:24 +0200
committerSiri Hansen <[email protected]>2014-05-26 11:53:25 +0200
commit6c3d24ccbc597e6d31db1f559470cc59585fdf52 (patch)
tree8509ed16e8f241b63dc0a5c9d202eb72d325bf4f /lib/stdlib/doc/src/sys.xml
parentaa0caafe360cce6afd91739a019ec1f8b3478424 (diff)
downloadotp-6c3d24ccbc597e6d31db1f559470cc59585fdf52.tar.gz
otp-6c3d24ccbc597e6d31db1f559470cc59585fdf52.tar.bz2
otp-6c3d24ccbc597e6d31db1f559470cc59585fdf52.zip
Add system message 'terminate'
This is to be used when implementing synchronous stop of generic behaviours and other 'sys special processes'.
Diffstat (limited to 'lib/stdlib/doc/src/sys.xml')
-rw-r--r--lib/stdlib/doc/src/sys.xml13
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/stdlib/doc/src/sys.xml b/lib/stdlib/doc/src/sys.xml
index a46fa1289f..7fb82e0e7e 100644
--- a/lib/stdlib/doc/src/sys.xml
+++ b/lib/stdlib/doc/src/sys.xml
@@ -4,7 +4,7 @@
<erlref>
<header>
<copyright>
- <year>1996</year><year>2013</year>
+ <year>1996</year><year>2014</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
@@ -356,6 +356,17 @@
installed.</p>
</desc>
</func>
+ <func>
+ <name name="terminate" arity="2"/>
+ <name name="terminate" arity="3"/>
+ <fsummary>Terminate the process</fsummary>
+ <desc>
+ <p>This function orders the process to terminate with the
+ given <c><anno>Reason</anno></c>. The termination is done
+ asynchronously, so there is no guarantee that the process is
+ actually terminated when the function returns.</p>
+ </desc>
+ </func>
</funcs>
<section>