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:
, chapter 7.26).
Minimalistic (no external dependencies, and easy to include in a project).
Download
For the latest stable release, please visit the
page on GitHub.
For the latest bleeding edge, please clone
:
git clone https://github.com/tinycthread/tinycthread.git Documentation
TinyCThread tries to match the
, so the standard or any documentation describing it should apply to TinyCThread as well. Additionally, an
is available as part of TinyCThread.
License
The library is released under
, which makes it perfectly free to use for any application (including commercial applications).