FabricMC / fabric-language-kotlin

Fabric language module for Kotlin.
Apache License 2.0
293 stars 33 forks source link

Add atomicfu library #71

Closed jakobkmar closed 2 years ago

jakobkmar commented 2 years ago

This library is the companion for the atomicfu compiler plugin, which makes it possible to mark any property as atomic. It should be preferred over Java atomics in Kotlin code. Since the library reached beta stability, it should be included in fabric-language-kotlin.

It is part of the kotlinx core libraries.

https://github.com/Kotlin/kotlinx.atomicfu