This C-library implements coroutines (cooperative multitasking) in a portable fashion.
As long as your system implements the ucontext (Unix) or the older sigaltstack interfaces it should work out of the box, with minimal configuration (it consists of only a single .h and a single .c file). For the broken systems, it also supports a slow pthreads-based system and (optional) assembly backends for higher speed on some systems. It is known to run on a wide variety of unix systems (SunOS, IRIX, GNU/Linux, HP-UX, FreeBSD, NetBSD, OpenBSD) and also on Windows, does not require any assembly language and is architecture-independent.
CVS | Browsable CVS module 'libcoro' |
CVS | Anonymous CVS: cvs -z3 -d :pserver:anonymous@cvs.schmorp.de/schmorpforge co libcoro |
IRC | Server irc.schmorp.de, channel #schmorpforge, user schmorp (say hi and wait a few minutes or hours, or /msg schmorp directly)) |