1 package kotlinx.coroutines.internal
2 
3 /*
4  * These are atomics that are used as local variables
5  * where atomicfu doesn't support its tranformations.
6  *
7  * Have `Local` prefix to avoid AFU clashes during star-imports
8  */
9 internal expect class LocalAtomicInt(value: Int) {
getnull10     fun get(): Int
11     fun set(value: Int)
12     fun decrementAndGet(): Int
13 }
14 
15 internal inline var LocalAtomicInt.value
16     get() = get()
17     set(value) = set(value)
18