|
| ACE_Remote_RLock () |
|
| ACE_Remote_RLock (const ACE_TCHAR *token_name, int ignore_deadlock=0, int debug=0) |
|
| ACE_Remote_RLock (const ACE_Remote_RLock &mutex) |
|
void | dump () const |
| Dump the state of the class.
|
|
virtual int | type () const |
| Returns ACE_RW_Token::RLOCK;.
|
|
virtual ACE_Token_Proxy * | clone () const |
| Return deep copy.
|
|
| ACE_Remote_Token_Proxy () |
| Null construction.
|
|
virtual | ~ACE_Remote_Token_Proxy () |
| Death.
|
|
int | open (const ACE_TCHAR *name, int ignore_deadlock=0, int debug=0) |
|
int | initiate_connection () |
|
virtual int | acquire (int notify=0, void(*sleep_hook)(void *)=0, ACE_Synch_Options &options=ACE_Synch_Options::synch) |
|
virtual int | tryacquire (void(*sleep_hook)(void *)=0) |
|
virtual int | renew (int requeue_position=0, ACE_Synch_Options &options=ACE_Synch_Options::synch) |
|
virtual int | release (ACE_Synch_Options &options=ACE_Synch_Options::synch) |
|
virtual int | remove (ACE_Synch_Options &options=ACE_Synch_Options::synch) |
|
virtual void | token_acquired (ACE_TPQ_Entry *) |
| Override the default to do nothing.
|
|
virtual const ACE_TCHAR * | owner_id () |
| The client id of the current token holder.
|
|
void | dump () const |
| Dump the state of the class.
|
|
| ACE_Token_Proxy () |
| Construction.
|
|
virtual | ~ACE_Token_Proxy () |
| Destructor.
|
|
virtual int | acquire_read (int notify=0, void(*sleep_hook)(void *)=0, ACE_Synch_Options &options=ACE_Synch_Options::defaults) |
|
virtual int | acquire_write (int notify=0, void(*sleep_hook)(void *)=0, ACE_Synch_Options &options=ACE_Synch_Options::defaults) |
|
virtual int | tryacquire_read (void(*sleep_hook)(void *)=0) |
|
virtual int | tryacquire_write (void(*sleep_hook)(void *)=0) |
|
virtual const ACE_TCHAR * | client_id () const |
|
virtual void | client_id (const ACE_TCHAR *client_id) |
|
virtual const ACE_TCHAR * | name () const |
|
virtual void | sleep_hook () |
|
void | dump () const |
| Dump the state of the class.
|
|
Proxy for acquiring, renewing, and releasing a distributed readers lock.
This is the remote equivalent to ACE_Local_RLock. Multiple readers can hold the lock simultaneously when no writers have the lock. Alternatively, when a writer holds the lock, no other participants (readers or writers) may hold the lock. ACE_Remote_RLock depends on the ACE Token Server for its distributed synchronization semantics.