|
MongoDB
2.4.4-pre-
|
only used on _DEBUG builds. More...
#include <mutexdebugger.h>
Public Member Functions | |
| void | programEnding () |
| outputs some diagnostic info on mutexes (on _DEBUG builds) | |
| std::string | currentlyLocked () const |
| void | entering (mid m) |
| void | leaving (mid m) |
Public Attributes | |
| std::string | a |
| std::string | b |
only used on _DEBUG builds.
MutexDebugger checks that we always acquire locks for multiple mutexes in a consistent (acyclic) order. If we were inconsistent we could deadlock.
1.8.3.1