24#ifndef LIBTHREADAR_MUTEX_HPP
25#define LIBTHREADAR_MUTEX_HPP
Wrapper around the Posix pthread_mutex_t C objects.
void unlock()
unlock the mutex
mutex(const mutex &ref)=delete
no copy constructor
void lock()
lock the mutex
mutex(mutex &&ref)=default
no move constructor
mutex & operator=(const mutex &ref)=delete
no assignment operator
virtual ~mutex()
destructor
bool try_lock()
Tells whether calling lock() would currently suspend the caller or not.
defines a set of exceptions that are used by libthreadar to report error situations
This is the only namespace used in libthreadar and all symbols provided by libthreadar are member of ...