aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2019-01-09 19:56:34 +0100
committerGitHub <[email protected]>2019-01-09 19:56:34 +0100
commit6120af3481f9deac2be1ff4bbb2684f24ef172eb (patch)
tree1b16c1b1b2ce9d3d05a9682fb44ab32f17b1d30f /erts
parentf28b2e471d81ec65a69e77d61909616482b256d0 (diff)
parentc715c870984b00698b5040d9efce62ab851b7542 (diff)
downloadotp-6120af3481f9deac2be1ff4bbb2684f24ef172eb.tar.gz
otp-6120af3481f9deac2be1ff4bbb2684f24ef172eb.tar.bz2
otp-6120af3481f9deac2be1ff4bbb2684f24ef172eb.zip
Merge PR-2073 from josevalim/jv-counters-atomics-docs
Document cleanup semantics for atomics and counters
Diffstat (limited to 'erts')
-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>