FreezableAtomicReference
Deprecated (with error)
Use kotlin.concurrent.AtomicReference instead.
Replace with
kotlin.concurrent.AtomicReference
Content copied to clipboard
This class was useful only with legacy memory manager. Please use AtomicReference instead.
Since Kotlin
1.3Functions
Link copied to clipboard
Atomically sets the value to the given new value if the current value equals the expected value and returns true if operation was successful.
Since Kotlin 1.3
Link copied to clipboard
Atomically sets the value to the given new value if the current value equals the expected value and returns the old value in any case.
Since Kotlin 1.3