cheshirekow
v0.1.0
|
cpp-pthreads is a simple wrapper for pthreads which provides a slightly more "modern", object oriented C++ interface to pthreads. It doesn't provide any additional functionality, it simply makes multi-threaded code slightly more readable in C++.
Attribute objects can be filled using the stream operator. For instance:
Mutexes are slightly easier to maintain with by using ScopedLocks
The cmake script for this library produces a shared library (libcpp-pthreads.so) and a static library (libcpp-pthreads_static.a). The install target for the makescript will install the headers, the libraries, and a cmake find script FindCPPThreads.cmake.