louiscad
04/28/2025, 12:18 PMAtomicLong
and friends in Kotlin 2.1.20, but still no KMP-compatible Lock
?
I have a use case where I need to ensure a Map
is edited with no concurrent modifications, and using kotlinx.coroutines.sync.Mutex
has undesired consequences on the exposed API, and is also overkill.Filipp Zhinkin
04/28/2025, 1:29 PM