This is a collection of binary releases of checkedthreads,
a fork/join parallelism framework for C and C++ with automatic race detection.
It is recommended to read about building from sources
even if you want to just download binaries, in order to know what's in the package.
If you want me to add binaries for some platform, please contact me
so we can discuss what it takes.
What you get
You need 3 things to use checkedthreads:
- Header files
- The Valgrind tool for race detection - not strictly required but very much recommended.
If you want to use version 1.0 on 64-bit Ubuntu 12.04, then all the 3 things are available
After extracting the archive:
- Header files are under include/. Note that the file checkedthreads_config.h is configured
"optimistically", assuming you have what it takes to use all the optional features (C++11, OpenMP, TBB,
and pthreads). If it's not true for your system, just comment out the relevant #defines there.
- Library files are under lib/. You can read here
about all the different libraries available and what they do.
- Valgrind binaries are under valgrind/; Valgrind itself is at valgrind/bin/valgrind. This
Valgrind will only run with --tool=checkedthreads - no other tool binaries are available (with those
extra binaries, Valgrind would take 1/4G after extraction). You'll need to set the environment
variable $VALGRIND_LIB to valgrind/lib/valgrind for --tool-checkedthreads to work.
Alternatively, you can copy valgrind/lib/valgrind/*checkedthreads* to your system's $VALGRIND_LIB
(for instance, /usr/lib/valgrind), which might work if the versions match.
Hope this helps, and do tell if you want binaries for other platforms.
Not a whole lot at the moment...
Source code snapshots, just in case.