A set of objects and collection for threadsafe C++ code. More...
![]() |
Classes | |
class | smart_mutex |
class that automatically creates and destroys mutexes More... | |
class | mlock |
class that automatically locks and unlocks pthread mutexes To use mlocks in code:
| |
class | smart_ptr< T > |
Auto-destructing pointer class. More... | |
class | threadsafe_counter |
Simple synchronized counter. More... | |
class | threadsafe_map< K, T > |
threadsafe map object More... | |
class | threadsafe_multimap< K, T > |
A very simple map object that is safe for multiple threads to use at the same time. More... | |
class | threadsafe_queue< T > |
Functions | |
smart_mutex::~smart_mutex (void) | |
destructor will automatically destroy mutex | |
mutex_t * | smart_mutex::getMutex (void) |
operating-system-dependent accessor | |
mlock::~mlock (void) | |
destructor automatically unlocks |
A set of objects and collection for threadsafe C++ code.
Abstracts lower-level threadsafe objects.
smart_mutex::~smart_mutex | ( | void | ) | [inline, inherited] |
destructor will automatically destroy mutex
Definition at line 73 of file smart_mutex.h.
mutex_t* smart_mutex::getMutex | ( | void | ) | [inline, inherited] |
operating-system-dependent accessor
Definition at line 82 of file smart_mutex.h.
mlock::~mlock | ( | void | ) | [inline, inherited] |
destructor automatically unlocks
Definition at line 126 of file smart_mutex.h.