by byuu · 8y ago · 0 comments
if I have multiple cores, what's the best way to leverage that along with libco? will cpu affinity help?
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.