You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rx Flowable that use Unconfined dispatcher result in a deadlock when using a runblocking() that execute a suspend function with (Semaphore, mutex or ReentrantLock)
#4222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
sharedFlow.asFlowable(Unconfined)
.flatMap {
runBlocking {
suspend function with (Mutex , Semaphore or ReentrantLock) --> This code deadlocks here
}
}
when we change the Unconfined dispatcher to the Default the problem disappear?
is it the intended behavior ?
I found a similar issue but with blockingGet
The text was updated successfully, but these errors were encountered:
Hello,
This code result in a deadlock :
when we change the Unconfined dispatcher to the Default the problem disappear?
is it the intended behavior ?
I found a similar issue but with blockingGet
The text was updated successfully, but these errors were encountered: