|
| ACE_Remote_WLock (void) |
|
| ACE_Remote_WLock (const ACE_TCHAR *token_name, int ignore_deadlock=0, int debug=0) |
|
| ACE_Remote_WLock (const ACE_Remote_WLock &mutex) |
|
void | dump (void) const |
| Dump the state of the class. More...
|
|
virtual int | type (void) const |
| Returns ACE_RW_Token::WLOCK;. 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...
|
|
Proxy for acquiring, renewing, and releasing a distributed writers lock.
Shields applications from details of interacting with the ACE_Token_Server. The token_name_ is just the string that the Token Server uses to identify the token. The client_id_ (also used by the Token Server,) identifies the owner of the token and is used for deadlock detection.