#include <Guard_T.h>
Inheritance diagram for ACE_Write_Guard< ACE_LOCK >:
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. |
Definition at line 119 of file Guard_T.h.
|
Implicitly and automatically acquire a write lock.
Definition at line 88 of file Guard_T.inl. References ACE_Write_Guard< ACE_LOCK >::acquire_write().
00089 : ACE_Guard<ACE_LOCK> (&m) 00090 { 00091 this->acquire_write (); 00092 } |
|
Implicitly and automatically acquire (or try to acquire) a write lock. Definition at line 119 of file Guard_T.inl. References ACE_Write_Guard< ACE_LOCK >::acquire_write(), and ACE_Write_Guard< ACE_LOCK >::tryacquire_write().
00121 : ACE_Guard<ACE_LOCK> (&m) 00122 { 00123 if (block) 00124 this->acquire_write (); 00125 else 00126 this->tryacquire_write (); 00127 } |
|
Explicitly acquire the write lock.
Reimplemented from ACE_Guard< ACE_LOCK >. Definition at line 101 of file Guard_T.inl.
|
|
Explicitly acquire the write lock.
Definition at line 95 of file Guard_T.inl. Referenced by ACE_Write_Guard< ACE_LOCK >::ACE_Write_Guard().
|
|
Dump the state of an object.
Reimplemented from ACE_Guard< ACE_LOCK >. Definition at line 42 of file Guard_T.cpp. References ACE_Guard< ACE_LOCK >::dump().
00043 { 00044 #if defined (ACE_HAS_DUMP) 00045 // ACE_TRACE ("ACE_Write_Guard<ACE_LOCK>::dump"); 00046 ACE_Guard<ACE_LOCK>::dump (); 00047 #endif /* ACE_HAS_DUMP */ 00048 } |
|
Conditionally acquire the write lock (i.e., won't block).
Reimplemented from ACE_Guard< ACE_LOCK >. Definition at line 113 of file Guard_T.inl.
|
|
Conditionally acquire the write lock (i.e., won't block).
Definition at line 107 of file Guard_T.inl. Referenced by ACE_Write_Guard< ACE_LOCK >::ACE_Write_Guard().
|