Is this a good idea? ``` mutex.withLock(owner = co...
# coroutines
l
Is this a good idea?
Copy code
mutex.withLock(owner = coroutineContext) {
   // Some suspend calls
}
v
what’s use case?
l
Failing fast in case of reentrant lock caused by direct or indirect recursive call
But I guess it's just a matter of a
withContext
to stop it from working...
And get a deadlock