Schmorpforge Software Repository

libcoro

Piratenpartei
Deliantra Free MMORPG
The free as in beer, liberal, code & content retro-style graphical MMORPG :)

libcoro

This C-library implements coroutines (cooperative multitasking) in a portable fashion.

Blurb

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.

Resources

CVSBrowsable CVS module 'libcoro'
CVSAnonymous CVS:  cvs -z3 -d :pserver:anonymous@cvs.schmorp.de/schmorpforge co libcoro
IRCServer irc.schmorp.de, channel #schmorpforge, user schmorp (say hi and wait a few minutes or hours)

Additional Documents

FILEREADME
FILEcoro.h