All you need to do is to include rezsemaphores.hpp
and you're good to go
#include <rezsem/rezsemaphores.hpp>
You can either grab the latest version or clone the repository and include the include
directory.
Example
$ wget https://raw.githubusercontent.com/scottjr632/cpp-barrier/master/include/rezsem/rezsemaphores.hpp -P rezsem
For examples please see the tests/test_*.cpp files.