mirror of
https://github.com/libretro/bsnes-libretro.git
synced 2024-11-27 02:50:32 +00:00
bsnes is a Super Nintendo (SNES) emulator focused on performance, features, and ease of use.
d31c6e75a5
Apparently there's two versions of the ISC license; the original says "and" while the updated one says "and/or". This was copied from the ares v115 release, so it should be the variant byuu intended by "ISC". Fixes #19. |
||
---|---|---|
doc | ||
aarch64.c | ||
amd64.c | ||
arm.c | ||
fiber.c | ||
libco.c | ||
libco.h | ||
LICENSE | ||
ppc64v2.c | ||
ppc.c | ||
README.md | ||
settings.h | ||
sjlj.c | ||
ucontext.c | ||
x86.c |
libco
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:
- x86 CPUs
- amd64 CPUs
- PowerPC CPUs
- PowerPC64 ELFv1 CPUs
- PowerPC64 ELFv2 CPUs
- ARM 32-bit CPUs
- ARM 64-bit (AArch64) CPUs
- POSIX platforms (setjmp)
- Windows platforms (fibers)
See [doc/targets.md] for details.
See [doc/usage.md] for documentation.
License
libco is released under the ISC license.