#include <Synch.h>
Collaboration diagram for ACE_recursive_mutex_state:
Public Methods | |
ACE_recursive_mutex_state (ACE_Recursive_Thread_Mutex &mutex) | |
Save the <mutex> and then <reset()> it. More... | |
~ACE_recursive_mutex_state (void) | |
Restore the <mutex> to its original state saved by the constructor. More... | |
Private Methods | |
int | reset (ACE_recursive_thread_mutex_t &mutex) |
Reset the <mutex> to be "unlocked". More... | |
int | save (ACE_recursive_thread_mutex_t &mutex) |
Save the state of <mutex>. More... | |
int | restore (ACE_recursive_thread_mutex_t &mutex) |
Restore the state of <mutex> to a previously saved value. More... | |
Private Attributes | |
ACE_Recursive_Thread_Mutex & | mutex_ |
int | nesting_level_ |
ACE_thread_t | owner_id_ |
|
Save the <mutex> and then <reset()> it.
|
|
Restore the <mutex> to its original state saved by the constructor.
|
|
Reset the <mutex> to be "unlocked".
|
|
Restore the state of <mutex> to a previously saved value.
|
|
Save the state of <mutex>.
|
|
|
|
|
|
|