|
| ACE_Remote_Mutex (void) |
| Null creation. Remote_Token_Proxy::open must be called. More...
|
|
| ACE_Remote_Mutex (const ACE_TCHAR *token_name, int ignore_deadlock=0, int debug=0) |
| Calls Remote_Token_Proxy::open for you. More...
|
|
void | dump (void) const |
| Dump the state of the class. More...
|
|
virtual ACE_Token_Proxy * | clone (void) const |
| Return deep copy. More...
|
|
| ACE_Remote_Token_Proxy (void) |
| Null construction. More...
|
|
virtual | ~ACE_Remote_Token_Proxy (void) |
| Death. More...
|
|
int | open (const ACE_TCHAR *name, int ignore_deadlock=0, int debug=0) |
|
int | initiate_connection (void) |
|
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. More...
|
|
virtual const ACE_TCHAR * | owner_id (void) |
| The client id of the current token holder. More...
|
|
void | dump (void) const |
| Dump the state of the class. More...
|
|
| ACE_Token_Proxy (void) |
| Construction. More...
|
|
virtual | ~ACE_Token_Proxy (void) |
| Destructor. More...
|
|
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 (void) const |
|
virtual void | client_id (const ACE_TCHAR *client_id) |
|
virtual const ACE_TCHAR * | name (void) const |
|
virtual void | sleep_hook (void) |
|
void | dump (void) const |
| Dump the state of the class. More...
|
|
virtual int | type (void) const |
|
Proxy for acquiring, renewing, and releasing a distributed mutex.
This is the remote equivalent to ACE_Local_Mutex. The Remote_Mutex class offers methods for acquiring, renewing, and releasing a distributed synchronization mutex. Similar to ACE_Local_Mutex, ACE_Remote_Token_Proxy offers recursive acquisition, FIFO waiter ordering, and deadlock detection. It depends on the Token Server for its distributed synchronization semantics.