#include <OS.h>
Public Attributes | |
| ACE_thread_mutex_t | nesting_mutex_ |
| Guards the state of the nesting level and thread id. More... | |
| ACE_cond_t | lock_available_ |
| This condition variable suspends other waiting threads until the mutex is available. More... | |
| int | nesting_level_ |
| Current nesting level of the recursion. More... | |
| ACE_thread_t | owner_id_ |
| Current owner of the lock. More... | |
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 2189 of file OS.h.
|
|
This condition variable suspends other waiting threads until the mutex is available.
Definition at line 2197 of file OS.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 2200 of file OS.h. Referenced by ACE_Recursive_Thread_Mutex::get_nesting_level, 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 2193 of file OS.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 2203 of file OS.h. Referenced by ACE_Recursive_Thread_Mutex::get_thread_id, 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. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002