Ion
|
An UnlockGuard is the reverse of a LockGuard; it unlocks a mutex when created and locks it when destroyed. More...
#include "lockguards.h"
Public Member Functions | |
GenericUnlockGuard (MutexT *m) | |
The passed pointer must be non-NULL. More... | |
~GenericUnlockGuard () | |
An UnlockGuard is the reverse of a LockGuard; it unlocks a mutex when created and locks it when destroyed.
Note that the destructor of an UnlockGuard may block waiting to acquire the mutex lock.
Definition at line 121 of file lockguards.h.
|
inlineexplicit |
The passed pointer must be non-NULL.
Definition at line 124 of file lockguards.h.
References mutex_.
|
inline |
Definition at line 128 of file lockguards.h.
References mutex_.