Portable Threads
Need portable threads for your C app? Is C11 unavailable for your target compiler(s)?
Then you need TinyCThread!
TinyCThread implements a fairly compatible subset of the C11 thread management functions.
Features
- Open source!
- Very portable (designed to work under Windows, Mac OS X and Linux, and should work under most POSIX compatible systems).
- Fairly faithful to the C11 standard (see the April 2011 draft: N1570, chapter 7.26).
- Minimalistic (no external dependencies, and easy to include in a project).
Download
For the latest stable release, please visit the TinyCThread releases page on GitHub.
For the latest bleeding edge, please clone the GitHub repository:
git clone https://github.com/tinycthread/tinycthread.git
Documentation
TinyCThread tries to match the C11 standard, so the standard or any documentation describing it should apply to TinyCThread as well. Additionally, an API reference is available as part of TinyCThread.
License
The library is released under the zlib/libpng license, which makes it perfectly free to use for any application (including commercial applications).