https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
n

Nino

03/12/2024, 11:42 AM
Hello, since Atomic* (like
AtomicLong
) are not available on common target, what can be used instead ? Currently I'm using
@Volatile
on a simple
var atomicLong = 0L
but it feels wrong. Am I missing something ?
j

jw

03/12/2024, 11:45 AM
n

Nino

03/12/2024, 11:46 AM
Perfect, thanks
2 Views