aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc/src
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2019-02-22 13:34:25 +0100
committerBjörn Gustavsson <[email protected]>2019-02-22 13:34:25 +0100
commit4cb28a71019ac8208bd642144c5a525700d8fb0e (patch)
tree26680de746d9cc90426b9016e64ab80584d3817a /lib/stdlib/doc/src
parentd49b77d0c250e0dfd183ec0f62664f4f60c2ffec (diff)
parentbc4f7cc80adf166f0f53b712fbe5101f675f84d0 (diff)
downloadotp-4cb28a71019ac8208bd642144c5a525700d8fb0e.tar.gz
otp-4cb28a71019ac8208bd642144c5a525700d8fb0e.tar.bz2
otp-4cb28a71019ac8208bd642144c5a525700d8fb0e.zip
Merge branch 'maint'
* maint: Clarify the atomic guarantees for ets:update_counter()
Diffstat (limited to 'lib/stdlib/doc/src')
-rw-r--r--lib/stdlib/doc/src/ets.xml5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/stdlib/doc/src/ets.xml b/lib/stdlib/doc/src/ets.xml
index ff088de8ab..d2ac6a75b1 100644
--- a/lib/stdlib/doc/src/ets.xml
+++ b/lib/stdlib/doc/src/ets.xml
@@ -2038,9 +2038,8 @@ true</pre>
<p>This function provides an efficient way to update one or more
counters, without the trouble of having to look up an object, update
the object by incrementing an element, and insert the resulting
- object into the table again. (The update is done atomically,
- that is, no process
- can access the ETS table in the middle of the operation.)</p>
+ object into the table again. The operation is guaranteed to be
+ <seealso marker="#concurrency">atomic and isolated</seealso>.</p>
<p>This function destructively update the object with key
<c><anno>Key</anno></c> in table <c><anno>Tab</anno></c> by adding
<c><anno>Incr</anno></c> to the element at position