#include <Guard_T.h>
Inheritance diagram for ACE_Read_Guard< ACE_LOCK >:
Public Member Functions | |
ACE_Read_Guard (ACE_LOCK &m) | |
Implicitly and automatically acquire a read lock. | |
ACE_Read_Guard (ACE_LOCK &m, int 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. |
Definition at line 163 of file Guard_T.h.
|
Implicitly and automatically acquire a read lock.
Definition at line 154 of file Guard_T.inl. References ACE_Read_Guard< ACE_LOCK >::acquire_read().
00155 : ACE_Guard<ACE_LOCK> (&m) 00156 { 00157 this->acquire_read (); 00158 } |
|
Implicitly and automatically acquire (or try to acquire) a read lock. Definition at line 161 of file Guard_T.inl. References ACE_Read_Guard< ACE_LOCK >::acquire_read(), and ACE_Read_Guard< ACE_LOCK >::tryacquire_read().
00163 : ACE_Guard<ACE_LOCK> (&m) 00164 { 00165 if (block) 00166 this->acquire_read (); 00167 else 00168 this->tryacquire_read (); 00169 } |
|
Explicitly acquire the read lock.
Reimplemented from ACE_Guard< ACE_LOCK >. Definition at line 136 of file Guard_T.inl.
|
|
Explicitly acquire the read lock.
Definition at line 130 of file Guard_T.inl. Referenced by ACE_Read_Guard< ACE_LOCK >::ACE_Read_Guard().
|
|
Dump the state of an object.
Reimplemented from ACE_Guard< ACE_LOCK >. Definition at line 53 of file Guard_T.cpp. References ACE_Guard< ACE_LOCK >::dump().
00054 { 00055 // ACE_TRACE ("ACE_Read_Guard<ACE_LOCK>::dump"); 00056 ACE_Guard<ACE_LOCK>::dump (); 00057 } |
|
Conditionally acquire the read lock (i.e., won't block).
Reimplemented from ACE_Guard< ACE_LOCK >. Definition at line 148 of file Guard_T.inl.
|
|
Conditionally acquire the read lock (i.e., won't block).
Definition at line 142 of file Guard_T.inl. Referenced by ACE_Read_Guard< ACE_LOCK >::ACE_Read_Guard().
|