Linux SoftwareProgrammingLibrariesMTasker 0.4

MTasker 0.4


MTasker is a two-file C++ library designed to support very simple cooperative multitasking
Developer:   Bert Hubert
      more software by author →
Price:  0.00
License:   GPL (GNU General Public License)
File size:   60K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


MTasker is a two-file C++ library designed to support very simple cooperative multitasking. MTasker can facilitate writing code that would ordinarily require a state machine, for which the author does not consider himself smart enough.

This class does not perform any magic it only makes calls to makecontext() and swapcontext(). Getting the details right however is complicated and MTasker does that for you.

If preemptive multitasking or more advanced concepts such as semaphores, locks or mutexes are required, the use of POSIX threads is advised.

MTasker is designed to offer the performance of statemachines while maintaining simple thread semantics. It is not a replacement for a full threading system.

What's New in This Release:
  • A theoretically damaging bug was fixed involving delete[] vs delete, spotted by Valgrind.
  • There is tentative Solaris support, not heavily tested.
  • Furthermore, a new method called numProcesses() was added so the kernel can query how many processes are running, and perhaps acting on that.
    tags does  not  

    Download MTasker 0.4


     http://ds9a.nl/mtasker/releases/mtasker-0.4.tar.gz


    Authors software

    Similar software

    MTasker 0.4 (by Bert Hubert)
    MTasker is a two-file C++ library designed to support very simple cooperative multitasking

    Portable Coroutine Library 1.6 (by Davide Libenzi)
    Portable Coroutine Library (PCL) implements the low level functionality for coroutines

    DM1 Threads Library 1.0.5 (by Dibyendu Majumdar)
    DM1 Thread Library is part of the DM1 project

    GNU Pth 2.0.7 (by Ralf S. Engelschall)
    Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for mult

    Control Library 0.1.4 (by Calin Culianu)
    Control Library is a small C++ library for writing control applications

    JMP 0.51 (by Robert Olofsson)
    JMP is a profiler for java that can be used to trace objects usage and method timings

    Prex 0.4.1 (by Kohsuke Ohtani)
    The Prex project is an open source initiative to provide a portable real-time operating system for embedded systems.

    This project

    RT-Thread 0.2.1 (by Midnight Xiong)
    RT-Thread is a real-time operating system

    Kerrighed 1.0.1 (by Kerrighed Research Team)
    Kerrighed is a Single System Image operating system for clusters

    HelenOS 0.2.0.3 (by Jakub Jermar)
    HelenOS project is an effort to develop a working operating system according to HelenOS specifications


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags