4 ms·
hi byuu, are you going to add arm64 support? or considering C99? if I have multiple cores, what's the best way to leverage that along with libco? will cpu affi
by ausjke 8y ago
hi byuu, are you going to add arm64 support? or considering C99?
if I have multiple cores, what's the best way to leverage that along with libco? will cpu affinity help?
- byuu 8y agoAarch64 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.