Projects / Cheap Threads / Releases

All releases of Cheap Threads

  •  17 May 2005 06:33
Avatar

    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 11:03
    Avatar

      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 12:28
      Avatar

        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.

        •  11 Jun 2003 01:34
        Avatar

          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.

          •  20 May 2003 01:42
          Avatar

            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.

            •  16 Nov 2002 19:52
            Avatar

              Release Notes: This release fixes a misplaced #endif in ctutil.h which had caused compile errors when compiled with debugging turned off.

              •  01 Oct 2002 01:38
              Avatar

                Release Notes: A new convenience function ct_self_data() now returns a pointer to the current thread's data. Also, the scheduling algorithm has changed slightly. In theory, though probably not in practice, this change could break existing code.

                •  27 Sep 2002 00:14
                Avatar

                  Release Notes: A new function, ct_create_sleeping_thread(), creates a thread without enqueuing it for execution. The new thread will not run until it is awakened by an event. Thereby you can avoid awkward workarounds that would otherwise be necessary sometimes.

                  •  22 Sep 2002 03:14
                  Avatar

                    Release Notes: This release fixes a bug. When a thread terminated itself by calling ct_wait(), its destructor function (if it had one) would be called twice.

                    •  09 Sep 2002 13:44
                    Avatar

                      Release Notes: A bug has been fixed so that a broadcast message is now delivered to the sending thread as well as to the others. Also, you can now awaken one or more sleeping threads without having to send a message.

                      Screenshot

                      Project Spotlight

                      episoder

                      A tool to tell you about new episodes of your favourite TV shows.

                      Screenshot

                      Project Spotlight

                      BalanceNG

                      A modern software IP load balancer.