aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Valim <[email protected]>2018-12-26 20:45:25 +0100
committerJosé Valim <[email protected]>2019-01-07 22:03:23 +0100
commitc715c870984b00698b5040d9efce62ab851b7542 (patch)
tree80b135133b9ea24c5e2336e2e509e1636ca7debc
parent06f43998fd9dcc5afec0cfb13bb60549fe20d663 (diff)
downloadotp-c715c870984b00698b5040d9efce62ab851b7542.tar.gz
otp-c715c870984b00698b5040d9efce62ab851b7542.tar.bz2
otp-c715c870984b00698b5040d9efce62ab851b7542.zip
Document cleanup semantics for atomics and counters
-rw-r--r--erts/doc/src/atomics.xml2
-rw-r--r--erts/doc/src/counters.xml2
2 files changed, 4 insertions, 0 deletions
diff --git a/erts/doc/src/atomics.xml b/erts/doc/src/atomics.xml
index f552c11e18..455973f011 100644
--- a/erts/doc/src/atomics.xml
+++ b/erts/doc/src/atomics.xml
@@ -85,6 +85,8 @@
bsl 64)-1</c>.</p>
</item>
</taglist>
+ <p>Atomics are not tied to the current process and are automatically
+ garbage collected when they are no longer referenced.</p>
</desc>
</func>
diff --git a/erts/doc/src/counters.xml b/erts/doc/src/counters.xml
index 3d26093a59..36816bd68d 100644
--- a/erts/doc/src/counters.xml
+++ b/erts/doc/src/counters.xml
@@ -103,6 +103,8 @@
acceptable.</p>
</item>
</taglist>
+ <p>Counters are not tied to the current process and are automatically
+ garbage collected when they are no longer referenced.</p>
</desc>
</func>