Fawkes API
Fawkes Development Version
|
Recursive mutex. More...
#include <>>
Public Member Functions | |
RecursiveMutex () | |
Constructor. | |
Friends | |
class | WaitCondition |
Recursive mutex.
This is a mutex which can be locked multiple times by the same thread. Other threads attempting to lock the mutex will block as if this were a regular mutex. This class is just a convenience sub-class of Mutex with its type set to Mutex::RECURSIVE. It is meant to be used to make the actual behavior more obvious.
fawkes::RecursiveMutex::RecursiveMutex | ( | ) |
Constructor.
Definition at line 44 of file recursive_mutex.cpp.