24 #ifndef LIBTHREADAR_MUTEX_HPP
25 #define LIBTHREADAR_MUTEX_HPP
88 mutex(
const mutex & ref) {
throw std::string(
"BUG"); };
89 const mutex & operator = (
const mutex & ref) {
throw std::string(
"BUG"); };
bool try_lock()
Tells whether calling lock() would currently suspend the caller or not.
void unlock()
unlock the mutex
void lock()
lock the mutex
This is the only namespace used in libthreadar and all symbols provided by libthreadar are member of ...
Wrapper around the Posix pthread_mutex_t C objects.