#include <RW_Thread_Mutex.h>
Inheritance diagram for ACE_RW_Thread_Mutex:
Public Methods | |
ACE_RW_Thread_Mutex (const ACE_TCHAR *name=0, void *arg=0) | |
~ACE_RW_Thread_Mutex (void) | |
Default dtor. | |
int | tryacquire_write_upgrade (void) |
void | dump (void) const |
Dump the state of an object. | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. |
|
|
|
Default dtor.
|
|
Dump the state of an object.
Reimplemented from ACE_RW_Mutex. |
|
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. |
|
Declare the dynamic allocation hooks.
Reimplemented from ACE_RW_Mutex. |