#include <Synch_T.h>
Inheritance diagram for ACE_Read_Guard:


Public Methods | |
| ACE_Read_Guard (ACE_LOCK &m) | |
| Implicitly and automatically acquire a read lock. More... | |
| ACE_Read_Guard (ACE_LOCK &m, int block) | |
| Implicitly and automatically acquire (or try to acquire) a read lock. More... | |
| int | acquire_read (void) |
| Explicitly acquire the read lock. More... | |
| int | acquire (void) |
| Explicitly acquire the read lock. More... | |
| int | tryacquire_read (void) |
| Conditionally acquire the read lock (i.e., won't block). More... | |
| int | tryacquire (void) |
| Conditionally acquire the read lock (i.e., won't block). More... | |
| void | dump (void) const |
| Dump the state of an object. More... | |
Definition at line 471 of file Synch_T.h.
|
||||||||||
|
Implicitly and automatically acquire a read lock.
Definition at line 151 of file Synch_T.i. References acquire_read.
00152 : ACE_Guard<ACE_LOCK> (&m) 00153 { 00154 this->acquire_read (); 00155 } |
|
||||||||||||||||
|
Implicitly and automatically acquire (or try to acquire) a read lock.
Definition at line 158 of file Synch_T.i. References acquire_read, and tryacquire_read.
00160 : ACE_Guard<ACE_LOCK> (&m) 00161 { 00162 if (block) 00163 this->acquire_read (); 00164 else 00165 this->tryacquire_read (); 00166 } |
|
||||||||||
|
Explicitly acquire the read lock.
Reimplemented from ACE_Guard. Definition at line 133 of file Synch_T.i. References ACE_Guard::lock_, and ACE_Guard::owner_.
|
|
||||||||||
|
Explicitly acquire the read lock.
Definition at line 127 of file Synch_T.i. References ACE_Guard::lock_, and ACE_Guard::owner_. Referenced by ACE_Read_Guard.
|
|
||||||||||
|
Dump the state of an object.
Reimplemented from ACE_Guard. Definition at line 62 of file Synch_T.cpp. References ACE_Guard::dump.
00063 {
00064 // ACE_TRACE ("ACE_Read_Guard<ACE_LOCK>::dump");
00065 ACE_Guard<ACE_LOCK>::dump ();
00066 }
|
|
||||||||||
|
Conditionally acquire the read lock (i.e., won't block).
Reimplemented from ACE_Guard. Definition at line 145 of file Synch_T.i. References ACE_Guard::lock_, and ACE_Guard::owner_.
|
|
||||||||||
|
Conditionally acquire the read lock (i.e., won't block).
Definition at line 139 of file Synch_T.i. References ACE_Guard::lock_, and ACE_Guard::owner_. Referenced by ACE_Read_Guard.
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002