bsnes is a Super Nintendo (SNES) emulator focused on performance, features, and ease of use.
Go to file
Tim Allen d31c6e75a5 Add a copy of the ISC license.
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.
2020-08-24 21:52:19 +10:00
doc Change docs from HTML to MD 2020-06-06 16:29:44 +02:00
aarch64.c Moved the libc override macros to settings.h, and removed __VA_ARGS__ 2020-06-06 18:57:44 +05:30
amd64.c Moved the libc override macros to settings.h, and removed __VA_ARGS__ 2020-06-06 18:57:44 +05:30
arm.c Moved the libc override macros to settings.h, and removed __VA_ARGS__ 2020-06-06 18:57:44 +05:30
fiber.c v106.224 2019-10-20 01:14:04 +09:00
libco.c v106.223 2019-10-20 00:28:09 +09:00
libco.h Added void to function signatures, in order to fix Clang's -Wstrict-prototypes 2020-06-25 11:39:40 +05:30
LICENSE Add a copy of the ISC license. 2020-08-24 21:52:19 +10:00
ppc64v2.c Moved the libc override macros to settings.h, and removed __VA_ARGS__ 2020-06-06 18:57:44 +05:30
ppc.c Moved the libc override macros to settings.h, and removed __VA_ARGS__ 2020-06-06 18:57:44 +05:30
README.md Change docs from HTML to MD 2020-06-06 16:29:44 +02:00
settings.h Proper cross-platform thread_local and alignas 2020-08-12 01:35:57 +10:00
sjlj.c v106.224 2019-10-20 01:14:04 +09:00
ucontext.c v106.224 2019-10-20 01:14:04 +09:00
x86.c Moved the libc override macros to settings.h, and removed __VA_ARGS__ 2020-06-06 18:57:44 +05:30

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.