blob: 00d1b8745ff798e795409b6d8f4d643b35c1689c [file] [log] [blame] [view]
# kotlinx.atomicfu
The idiomatic way to use atomic operations in [Kotlin/JS](https://kotlinlang.org/docs/reference/js-overview.html),
so that the same code can be shared with Kotlin/JVM.
```kotlin
private val top = atomic<Node?>(null)
```
See [README](https://github.com/Kotlin/kotlinx.atomicfu/blob/master/README.md) for more details.