#include <Remote_Tokens.h>
Public Member Functions | |
ACE_Remote_Mutex (void) | |
Null creation. Remote_Token_Proxy::open must be called. | |
ACE_Remote_Mutex (const ACE_TCHAR *token_name, int ignore_deadlock=0, int debug=0) | |
Calls Remote_Token_Proxy::open for you. | |
void | dump (void) const |
Dump the state of the class. | |
virtual ACE_Token_Proxy * | clone (void) const |
Return deep copy. | |
Protected Member Functions | |
virtual ACE_Tokens * | create_token (const ACE_TCHAR *name) |
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.
ACE_Remote_Mutex::ACE_Remote_Mutex | ( | void | ) |
Null creation. Remote_Token_Proxy::open must be called.
ACE_Remote_Mutex::ACE_Remote_Mutex | ( | const ACE_TCHAR * | token_name, | |
int | ignore_deadlock = 0 , |
|||
int | debug = 0 | |||
) |
Calls Remote_Token_Proxy::open for you.
void ACE_Remote_Mutex::dump | ( | void | ) | const |
ACE_Token_Proxy * ACE_Remote_Mutex::clone | ( | void | ) | const [virtual] |
Return deep copy.
ACE_Tokens * ACE_Remote_Mutex::create_token | ( | const ACE_TCHAR * | name | ) | [protected, virtual] |
Make the correct type of ACE_Tokens. This is called by the ACE_Token_Manager.