|
ACE 8.0.1
|
Proxy for acquiring, renewing, and releasing a distributed mutex. More...
#include <Remote_Tokens.h>


Protected Member Functions | |
| virtual ACE_Tokens * | create_token (const ACE_TCHAR *name) |
Protected Member Functions inherited from ACE_Remote_Token_Proxy | |
| int | request_reply (ACE_Token_Request &request, ACE_Synch_Options &options) |
| Perform the request and wait for the reply. | |
Protected Member Functions inherited from ACE_Token_Proxy | |
| ACE_Token_Proxy (const ACE_Token_Proxy &) | |
| Duplication. | |
| int | handle_options (ACE_Synch_Options &options, ACE_TOKEN_CONST::COND_VAR &cv) |
| Handles cond_var waits. | |
Additional Inherited Members | |
Static Public Member Functions inherited from ACE_Remote_Token_Proxy | |
| static void | set_server_address (const ACE_INET_Addr &server_address) |
Protected Attributes inherited from ACE_Remote_Token_Proxy | |
| int | ignore_shadow_deadlock_ |
| If shadows report deadlock, go remote anyway. | |
Protected Attributes inherited from ACE_Token_Proxy | |
| int | ignore_deadlock_ |
| If this is set, we ignore deadlock. | |
| int | debug_ |
| Print a bunch of debug messages. | |
| ACE_Tokens * | token_ |
| ACE_TSS_TPQ_Entry | waiter_ |
| Waiter info used for asynchronous transactions. | |
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.
|
inline |
Null creation. Remote_Token_Proxy::open must be called.
|
inline |
Calls Remote_Token_Proxy::open for you.
|
virtual |
Return deep copy.
Implements ACE_Token_Proxy.
|
protectedvirtual |
Make the correct type of ACE_Tokens. This is called by the ACE_Token_Manager.
Implements ACE_Token_Proxy.
| void ACE_Remote_Mutex::dump | ( | ) | const |
Dump the state of the class.