ONPOSIX
2.0
|
Class to simplify locking and unlocking of pthread mutex. More...
#include <PosixMutex.hpp>
Public Member Functions | |
PthreadMutexLocker (pthread_mutex_t &mutex) | |
~PthreadMutexLocker () |
Private Attributes | |
pthread_mutex_t & | mutex_ |
Class to simplify locking and unlocking of pthread mutex.
This class has the same purpose of the MutexLocker class but works with pthread mutex type instead of PosixMutex class.
Definition at line 94 of file PosixMutex.hpp.
|
inline |
Definition at line 100 of file PosixMutex.hpp.
|
inline |
Definition at line 104 of file PosixMutex.hpp.
|
private |
Definition at line 96 of file PosixMutex.hpp.