Re:Libaco: A fast and lightweight C asymmetric coroutine lib...
by blattimwind on Saturday July 14, 2018 @08:18AM
(#17530017)
Coroutine switching can be as fast as a dozen or so ns. Meanwhile a thread context switch will still take a microsecond at least.
As for context switching speed, you may well be right, but I was under the impression that thread context switching in Linux is really cheap these days, almost as fast as userland coroutines.