elizarov
02/20/2017, 9:41 PMsuspendCoroutine
is too low level. It takes large amount of code just to reliably pass a signal from one coroutine to the other. It is like writing your own blocking queue using volatile variables, atomics and LockSupport.