#include <Guard_T.h>
Public Member Functions | |
ACE_Write_Guard (ACE_LOCK &m) | |
Implicitly and automatically acquire a write lock. | |
ACE_Write_Guard (ACE_LOCK &m, int block) | |
int | acquire_write (void) |
Explicitly acquire the write lock. | |
int | acquire (void) |
Explicitly acquire the write lock. | |
int | tryacquire_write (void) |
Conditionally acquire the write lock (i.e., won't block). | |
int | tryacquire (void) |
Conditionally acquire the write lock (i.e., won't block). | |
void | dump (void) const |
Dump the state of an object. |
ACE_INLINE ACE_Write_Guard< ACE_LOCK >::ACE_Write_Guard | ( | ACE_LOCK & | m | ) | [inline] |
Implicitly and automatically acquire a write lock.
ACE_INLINE ACE_Write_Guard< ACE_LOCK >::ACE_Write_Guard | ( | ACE_LOCK & | m, | |
int | block | |||
) | [inline] |
Implicitly and automatically acquire (or try to acquire) a write lock.
ACE_INLINE int ACE_Write_Guard< ACE_LOCK >::acquire_write | ( | void | ) | [inline] |
Explicitly acquire the write lock.
ACE_INLINE int ACE_Write_Guard< ACE_LOCK >::acquire | ( | void | ) | [inline] |
ACE_INLINE int ACE_Write_Guard< ACE_LOCK >::tryacquire_write | ( | void | ) | [inline] |
Conditionally acquire the write lock (i.e., won't block).
ACE_INLINE int ACE_Write_Guard< ACE_LOCK >::tryacquire | ( | void | ) | [inline] |
void ACE_Write_Guard< ACE_LOCK >::dump | ( | void | ) | const [inline] |