OverSim
|
Utility class to acquire a mutex at construction and release it when destroyed. More...
#include <XmlRpcMutex.h>
Public Member Functions | |
AutoLock (XmlRpcMutex &m) | |
Acquire the mutex at construction. | |
~AutoLock () | |
Release at destruction. |
Public Attributes | |
XmlRpcMutex & | _m |
The mutex being held. |
Utility class to acquire a mutex at construction and release it when destroyed.
Definition at line 34 of file XmlRpcMutex.h.
|
inline |
Acquire the mutex at construction.
Definition at line 36 of file XmlRpcMutex.h.
|
inline |
XmlRpcMutex& XmlRpc::XmlRpcMutex::AutoLock::_m |
The mutex being held.
Definition at line 40 of file XmlRpcMutex.h.
Referenced by AutoLock(), and ~AutoLock().