Hello, is there a reason we got new `AtomicLong` a...
# stdlib
l
Hello, is there a reason we got new
AtomicLong
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.
f
Hey! Currently, there's some work on renovating locks in AFU. We were planning to discuss and consider locks inclusion into the stdlib afterwards.
👀 2