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

Kris Wong

03/04/2021, 7:56 PM
are there any plans for a serial queue style scope that doesn't require a dedicated thread? similar to how GCD works.
1
l

louiscad

03/04/2021, 10:55 PM
That discussing about wrapping darwin GCD / dispatch queues was brought up on GitHub (by me). Roman replied back then that it was the idea, but this requires the new memory model to work right. GCD would be seen just like another thread pool. Non darwin based OSes like Android could also offer a GCD equivalent that could take runnables to a coroutine dispatcher can use it.
3 Views