Panda3D
|
A reentrant mutex. More...
#include "reMutex.h"
Public Member Functions | |
ReMutex (const char *name) | |
ReMutex (const string &name) |
A reentrant mutex.
This kind of mutex can be locked more than once by the thread that already holds it, without deadlock. The thread must eventually release the mutex the same number of times it locked it.
This class inherits its implementation either from MutexDebug or ReMutexDirect, depending on the definition of DEBUG_THREADS.