near-san a8d19935fa Remove the "byuu" user-interface. | 3 jaren geleden | |
---|---|---|
.. | ||
doc | 4 jaren geleden | |
GNUmakefile | 4 jaren geleden | |
LICENSE | 3 jaren geleden | |
README.md | 4 jaren geleden | |
aarch64.c | 4 jaren geleden | |
amd64.c | 4 jaren geleden | |
arm.c | 4 jaren geleden | |
fiber.c | 4 jaren geleden | |
libco.c | 4 jaren geleden | |
libco.h | 3 jaren geleden | |
ppc.c | 4 jaren geleden | |
ppc64v2.c | 4 jaren geleden | |
settings.h | 4 jaren geleden | |
sjlj.c | 4 jaren geleden | |
ucontext.c | 4 jaren geleden | |
x86.c | 4 jaren geleden |
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.
Ideal use cases include servers (HTTP, RDBMS) and emulators (CPU cores, etc.)
It currently includes backends for:
See [doc/targets.md] for details.
See [doc/usage.md] for documentation.
libco is released under the ISC license.