Re:Libaco: A fast and lightweight C asymmetric coroutine lib...
by byuu on Thursday July 19, 2018 @11:33PM
(#17572226)
Aarch64 support will show up as soon as I can get a Linux distro running on it to test the implementation with. My understanding is the ARM ABI isn't as well defined, and you tend to need slightly different implementations per device, so it may not be as useful as simply using the setjmp version.
You can set -DLIBCO_MP to get the co_active handle to be multi-threaded. Each preemptive thread would then have its own set of cooperative threads.
if I have multiple cores, what's the best way to leverage that along with libco? will cpu affinity help?