|
UCommon
|
Portable recursive exclusive lock. More...
#include <thread.h>
Public Types | |
| typedef autoexclusive< RecursiveMutex > | autolock |
Protected Member Functions | |
| virtual void | _lock (void) |
| virtual void | _unlock (void) |
Protected Member Functions inherited from ucommon::ExclusiveProtocol | |
Protected Attributes | |
| pthread_t | locker |
| unsigned | lockers |
| unsigned | waiting |
Portable recursive exclusive lock.
This class is built from the conditional and hence does not require support for non-standard and platform specific extensions to pthread mutex to support recrusive style mutex locking. The exclusive protocol is implimented to support exclusive_lock referencing.
| autoexclusive<RecursiveMutex> ucommon::RecursiveMutex::autolock |
|
protectedvirtual |
Implements ucommon::ExclusiveProtocol.
|
protectedvirtual |
Implements ucommon::ExclusiveProtocol.