Version 2.6 of Cheap Threads

Release Notes: This release adds an optional ct_return() function by which a thread may return control to the scheduler by a setjmp/longjmp mechanism rather than by an ordinary function return. In some circumstances, ct_return() may be more efficient or more convenient. By default, ct_return() is disabled in order to avoid overhead for applications that don't use it, but you can enable it by using a compile-time macro.

Other releases

  •  16 May 2005 23:33

Release Notes: This release adds an optional ct_return() function by which a thread may return control to the scheduler by a setjmp/longjmp mechanism rather than by an ordinary function return. In some circumstances, ct_return() may be more efficient or more convenient. By default, ct_return() is disabled in order to avoid overhead for applications that don't use it, but you can enable it by using a compile-time macro.

  •  08 Sep 2003 04:03

Release Notes: The Cheap Threads functions can now be called directly from C++ programs. A new sample program, demo1, was included to demonstrate two threads that take turns writing to standard output.

  •  28 Jul 2003 05:28

Release Notes: A memory leak, which was introduced in v2.5, is now fixed. The leak occurred when activating a thread with an enqueue instead of a message.

  •  10 Jun 2003 18:34

Release Notes: The message-passing machinery now uses a reference-counting scheme to reduce the overhead of delivering messages. This change also reduces the use of memory, especially when distributing long messages to multiple threads. The API is unchanged.

  •  19 May 2003 18:42

Release Notes: Cheap Threads now offers a timeout facility as a compiletime option. A thread may put itself to sleep and be awakened after a specified interval, if some other event doesn't awaken it first. There is now a mailing list for discussion and support of Cheap Threads.

Screenshot

Project Spotlight

NTP

A time synchronization daemon which keeps your system time accurate.

Screenshot

Project Spotlight

OpenNMS

An enterprise-grade network management platform.