libco - Cooperative multithreading library written in C89.
libco is a cooperative multithreading library written in C89. Although cooperative multithreading is limited to a single CPU core, it scales substantially better than preemptive multithreading. For applications that need 100,000 or more context switches per second, the kernel overhead involved in preemptive multithreading can end up becoming the bottleneck in the application. libco can easily scale to 10,000,000 or more context switches per second.
https://byuu.org/projects/libco
https://github.com/byuu/higan/tree/master/libco
License:
Tech:
Tags: