mongo::MutexDebugger Class Reference
#include <mutex.h>
List of all members.
Detailed Description
only used on _DEBUG builds. MutexDebugger checks that we always acquire locks for multiple mutexes in a consistant (acyclic) order. If we were inconsistent we could deadlock.
Definition at line 44 of file mutex.h.
Member Typedef Documentation
Constructor & Destructor Documentation
mongo::MutexDebugger::MutexDebugger |
( |
|
) |
|
Member Function Documentation
void mongo::MutexDebugger::aBreakPoint |
( |
|
) |
[inline, private] |
void mongo::MutexDebugger::entering |
( |
mid |
m |
) |
[inline] |
void mongo::MutexDebugger::leaving |
( |
mid |
m |
) |
[inline] |
void mongo::MutexDebugger::programEnding |
( |
|
) |
|
outputs some diagnostic info on mutexes (on _DEBUG builds)
Member Data Documentation
The documentation for this class was generated from the following file: