Norbi
atomic(...)
* Refrain from invoking atomic operations on local variables:
```
val top = atomic<Node?>(null)
val tmp = top
tmp.compareAndSet(null, Node(1)) // DON'T DO THIS
Sam
Atomic<T>
T
Atomic
AtomicReference
AtomicInteger
an atomic value is represented as a plain value atomically updated with java.util.concurrent.atomic.AtomicXxxFieldUpdater from the Java standard library.
java.util.concurrent.atomic.AtomicXxxFieldUpdater
A modern programming language that makes developers happier.