TinyThread++
Portable Threads
Need portable threads for your C++ app? Is
unavailable for your target compiler(s)? Is
too large?
Then you need TinyThread++!
TinyThread++ implements a fairly compatible subset of the C++11 thread management classes.
Features
Open source!
Very portable (it has been tested under Windows, Mac OS X, Linux, OpenSolaris and FreeBSD, and should work under most POSIX compatible systems).
Fairly faithful to the C++11 standard (see the January 2012 draft:
, chapter 30).
Minimalistic (no external dependencies, and easy to include in a project).
Minimal overhead — most functions generate compact inline code.
As a bonus, the library includes a very fast user space mutex class (fast_mutex).
Download
The latest release is v1.1 (2012.05.07):
Download TinyThread++ v1.1 source (zip, 122 KB)
Download TinyThread++ v1.1 source (tar.bz2, 58 KB)
More
The Doxygen generated documentation can be found
.
Go to the GITORIOUS project page.
License
The library is released under the
, which makes it perfectly free to use for any application (including commercial applications).
Related Software
If TinyThread++ is not what you need, you may try:
- a complete C++11 thread library implementation (commercial).
- contains threading classes (not 100% compatible with C++11).
- contains threading classes (not really C++11 style, but similar functionality).
- a C alternative.