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
Open
cchaouachi opened this issue
Sep 9, 2024
· 1 comment
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: