https://kotlinlang.org logo
#coroutines
Title
# coroutines
u

ursus

10/17/2020, 5:12 AM
Is having a single threaded dispatcher or semaphore more idiomatic?
l

louiscad

10/17/2020, 5:33 AM
Mutex
t

Tijl

10/17/2020, 7:21 AM
if you’re targeting native also single threaded dispatcher can be very useful since you need to worry less about freezing. it can also outperform locks in some cases.
7 Views