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