v0ldem0rt
03/04/2017, 8:08 AMFile
object to read file.
My understanding right now is that if a coroutine issues are read/write on such File
object it will block the thread and prevent other coroutine to schedule on the blocked thread. To get around the problem I am planning to spin of worker thread pool (4-8 threads). That will be reading data from library that does the blocking call, and coroutines can communicate over some sort of worker queue with these threads.