This is used to lock a mutex.
More...
Public Member Functions |
| | Guard (LOG4CPLUS_MUTEX_PTR_DECLARE mutex) |
| | "locks" mutex.
|
| | ~Guard () |
| | "unlocks" mutex.
|
Private Member Functions |
|
| Guard (const Guard &) |
|
Guard & | operator= (const Guard &) |
Private Attributes |
|
LOG4CPLUS_MUTEX_PTR_DECLARE | _mutex |
Detailed Description
This is used to lock a mutex.
The dtor unlocks the mutex.
Definition at line 36 of file threads.h.
Constructor & Destructor Documentation
| log4cplus::thread::Guard::Guard |
( |
LOG4CPLUS_MUTEX_PTR_DECLARE |
mutex | ) |
|
|
inline |
"locks" mutex.
Definition at line 40 of file threads.h.
| log4cplus::thread::Guard::~Guard |
( |
| ) |
|
|
inline |
"unlocks" mutex.
Definition at line 47 of file threads.h.
The documentation for this class was generated from the following file: