EPICS Base
7.0.7.0
|
RAII style unlocking of an epicsGuard object. More...
#include <epicsGuard.h>
Public Types | |
typedef epicsGuard< T > | guard_t |
Public Member Functions | |
epicsGuardRelease (epicsGuard< T > &guardIn) | |
Constructs an epicsGuardRelease, unlocking the given epicsGuard. More... | |
RAII style unlocking of an epicsGuard object This class can be used while a epicsGuard is active to temporarily release the mutex and automatically re-apply the lock when this object goes out of scope.
This class is also useful in situations where C++ exceptions are possible.
Definition at line 30 of file epicsGuard.h.
|
inline |
Constructs an epicsGuardRelease, unlocking the given epicsGuard for the duration of this object.
guardIn | The epicsGuard object to be temporarily released. |
Definition at line 161 of file epicsGuard.h.