#include <pthread_tools.hpp>
Public Member Functions | |
void | lock () const |
void | unlock () const |
bool | try_lock () const |
Friends | |
class | conditional |
Wrapper around pthread's mutex On single core systems mutex should be used. On multicore systems, spinlock should be used.