tryUpdate

inline fun <V> Atomic<V>.tryUpdate(function: (V) -> V): Boolean(source)
inline fun AtomicBoolean.tryUpdate(function: (Boolean) -> Boolean): Boolean(source)
inline fun AtomicInt.tryUpdate(function: (Int) -> Int): Boolean(source)
inline fun AtomicLong.tryUpdate(function: (Long) -> Long): Boolean(source)