shegeley / clojureism

Clojure-insipired procedures for vector and srfii-125:hash-table and atomic-box: get, get-in, assoc, assoc-in, update, update-in, swap!, reset!, ref.
Eclipse Public License 2.0
6 stars 0 forks source link

`(@ (clojureism atomics) update!)` is not atomic #2

Closed shegeley closed 5 months ago

shegeley commented 5 months ago

@abcdw reported that it's not an atomic operation. Value can be changed by another thread/fiber. See.