cxxtools::RecursiveMutex Class Reference

Recursive mutual exclusion device. More...

#include <cxxtools/mutex.h>

Inheritance diagram for cxxtools::RecursiveMutex:
cxxtools::NonCopyable

Public Member Functions

 RecursiveMutex ()
 ~RecursiveMutex ()
void lock ()
bool tryLock ()
void unlock ()
 Unlocks the mutex.
bool unlockNoThrow ()

Additional Inherited Members

- Private Member Functions inherited from cxxtools::NonCopyable
 NonCopyable ()

Detailed Description

Recursive mutual exclusion device.

Constructor & Destructor Documentation

cxxtools::RecursiveMutex::RecursiveMutex ( )
cxxtools::RecursiveMutex::~RecursiveMutex ( )

Member Function Documentation

void cxxtools::RecursiveMutex::lock ( )
bool cxxtools::RecursiveMutex::tryLock ( )
void cxxtools::RecursiveMutex::unlock ( )

Unlocks the mutex.

If the mutex was locked more than one time by the same thread unlock decrements the lock-count. The mutex is actually unlocked when the lock-count is zero.

bool cxxtools::RecursiveMutex::unlockNoThrow ( )

The documentation for this class was generated from the following file: