Wrapper for readers/writer locks that exist within a process.
More...
#include <RW_Thread_Mutex.h>
Additional Inherited Members |
| ACE_rwlock_t | lock_ |
| | Readers/writer lock.
|
| bool | removed_ |
Detailed Description
Wrapper for readers/writer locks that exist within a process.
Constructor & Destructor Documentation
| ACE_RW_Thread_Mutex::ACE_RW_Thread_Mutex |
( |
const ACE_TCHAR * |
name = 0, |
|
|
void * |
arg = 0 |
|
) |
| |
| ACE_RW_Thread_Mutex::~ACE_RW_Thread_Mutex |
( |
void |
| ) |
|
|
inline |
Member Function Documentation
| void ACE_RW_Thread_Mutex::dump |
( |
void |
| ) |
const |
Dump the state of an object.
Reimplemented from ACE_RW_Mutex.
| int ACE_RW_Thread_Mutex::tryacquire_write_upgrade |
( |
void |
| ) |
|
|
inline |
Conditionally upgrade a read lock to a write lock. This only works if there are no other readers present, in which case the method returns 0. Otherwise, the method returns -1 and sets errno to EBUSY. Note that the caller of this method must already possess this lock as a read lock (but this condition is not checked by the current implementation).
Reimplemented from ACE_RW_Mutex.
Member Data Documentation
| ACE_RW_Thread_Mutex::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.
The documentation for this class was generated from the following files: