This class is similar to class ACE_Guard, though it acquires/releases a write lock automatically (naturally, the <ACE_LOCK> it is instantiated with must support the appropriate API).
More...
#include <Guard_T.h>
|
| ACE_Guard (ACE_LOCK *lock) |
| Helper, meant for subclass only. More...
|
|
ACE_LOCK * | lock_ |
| Pointer to the ACE_LOCK we're guarding. More...
|
|
int | owner_ |
| Keeps track of whether we acquired the lock or failed. More...
|
|
template<class ACE_LOCK>
class ACE_Write_Guard< ACE_LOCK >
This class is similar to class ACE_Guard, though it acquires/releases a write lock automatically (naturally, the <ACE_LOCK> it is instantiated with must support the appropriate API).
- Warning
- See important "WARNING" in comments at top of ACE_Guard.
template<class ACE_LOCK >
Implicitly and automatically acquire a write lock.
template<class ACE_LOCK >
Implicitly and automatically acquire (or try to acquire) a write lock.
template<class ACE_LOCK >
Explicitly acquire the write lock.
template<class ACE_LOCK >
Explicitly acquire the write lock.
template<class ACE_LOCK >
Dump the state of an object.
template<class ACE_LOCK >
Conditionally acquire the write lock (i.e., won't block).
template<class ACE_LOCK >
Conditionally acquire the write lock (i.e., won't block).
The documentation for this class was generated from the following files: