What are the advantages/disadvantages of the atomicFu `ReentrantLock.withLock {}` vs. the coroutines...
s
What are the advantages/disadvantages of the atomicFu
ReentrantLock.withLock {}
vs. the coroutines
Mutex.withLock {}
?
s
ReentrantLock is blocking. Mutex is not blocking, it is suspending instead.
s
Thanks!