#include <OS_NS_Thread.h>
Public Attributes | |
ACE_thread_mutex_t | nesting_mutex_ |
Guards the state of the nesting level and thread id. | |
ACE_cond_t | lock_available_ |
int | nesting_level_ |
Current nesting level of the recursion. | |
ACE_thread_t | owner_id_ |
Current owner of the lock. |
This implementation is based on an algorithm sketched by Dave Butenhof <butenhof@zko.dec.com>. Naturally, I take the credit for any mistakes ;-)
Definition at line 529 of file OS_NS_Thread.h.
|
This condition variable suspends other waiting threads until the mutex is available. Definition at line 537 of file OS_NS_Thread.h. Referenced by ACE_OS::recursive_mutex_cond_relock(), ACE_OS::recursive_mutex_cond_unlock(), ACE_OS::recursive_mutex_destroy(), ACE_OS::recursive_mutex_init(), ACE_OS::recursive_mutex_lock(), and ACE_OS::recursive_mutex_unlock(). |
|
Current nesting level of the recursion.
Definition at line 540 of file OS_NS_Thread.h. Referenced by ACE_OS::recursive_mutex_cond_relock(), ACE_OS::recursive_mutex_cond_unlock(), ACE_OS::recursive_mutex_init(), ACE_OS::recursive_mutex_lock(), ACE_OS::recursive_mutex_trylock(), and ACE_OS::recursive_mutex_unlock(). |
|
Guards the state of the nesting level and thread id.
Definition at line 533 of file OS_NS_Thread.h. Referenced by ACE_OS::recursive_mutex_cond_relock(), ACE_OS::recursive_mutex_cond_unlock(), ACE_OS::recursive_mutex_destroy(), ACE_OS::recursive_mutex_init(), ACE_OS::recursive_mutex_lock(), ACE_OS::recursive_mutex_trylock(), and ACE_OS::recursive_mutex_unlock(). |
|
Current owner of the lock.
Definition at line 543 of file OS_NS_Thread.h. Referenced by ACE_OS::recursive_mutex_cond_relock(), ACE_OS::recursive_mutex_cond_unlock(), ACE_OS::recursive_mutex_init(), ACE_OS::recursive_mutex_lock(), ACE_OS::recursive_mutex_trylock(), and ACE_OS::recursive_mutex_unlock(). |