KorAtomicFloat

Constructors

Link copied to clipboard
constructor(initial: Float)

Properties

Link copied to clipboard
open override var value: Float

Functions

Link copied to clipboard
open override fun addAndGet(delta: Float): Float
Link copied to clipboard
fun addAndGetMod(delta: Float, modulo: Float): Float
Link copied to clipboard
open override fun compareAndSet(expect: Float, update: Float): Boolean
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
inline fun <T> KorAtomicBase<T>.update(transform: (T) -> T): T