I am looking for user-mode multi-threading library/framework for C++ under Linux. I am familiar with boost::thread and ACE_Thread_Manager but AFAIK both of them eventually use OS native thread's support.
Suggestions will be highly appreciated.
GNU PTH: http://www.gnu.org/software/pth/
It's using cooperative multithreading, which is why it's used in GnuPG (which for security reasons doesn't want real threads, but for responsiveness reasons needs threads).
Is MTasker the kind of thing you're looking for? It's also a cooperative multi-tasking library. You might also want to consider just whipping up some state machines.
Also check out State Threads and MIT Pthreads.
This tool will assist in the generation of hierarchical state machines, which could be used for this purpose: CHSM
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With