are there any plans for a serial queue style scope...
# coroutines
k
are there any plans for a serial queue style scope that doesn't require a dedicated thread? similar to how GCD works.
1
l
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.