Welcome to the cheapthreads group.
This group is a forum for discussion of Cheap Threads, a portable
C library for cooperative multitasking. The approach taken by
Cheap Threads has three main advantages:
1. Completely portable -- needs nothing beyond Standard C
(specifically C89; I don't have a C99 compiler with which to test it).
2. Low memory requirements, because it doesn't maintain a separate
stack for each thread.
3. No need for mutexes, locks, critical sections, or other gimmicks
to keep threads from interfering with each other.
The main disadvantage, if it is one, is that each thread must yield
control from time to time with an explicit return statement. This
requirement may require a somewhat non-intuitive style of programming,
more akin to finite state machines than to conventional procedural
code.
Cheap Threads is free software -- free as in speech and free as in
beer -- licensed under the GNU Lesser General Public License (LGPL).
For more information about Cheap Threads, see:
http://home.swbell.net/mck9/ct/
This mailing list is currently unmoderated. If it attracts abuse
in the form of spam, flame wars, job postings, or excessive
off-topic posts, I will reluctantly reconfigure it as a moderated
group. Besides being more work for me, moderation will slow
everything down, so I'm hoping that this step will not be necessary.
Scott McKellar
http://home.swbell.net/mck9/ct/