#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 ;-)
|
|
This condition variable suspends other waiting threads until the mutex is available.
|
|
|
Current nesting level of the recursion.
|
|
|
Guards the state of the nesting level and thread id.
|
|
|
Current owner of the lock.
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001