MongoDB  2.0.3
Public Member Functions | Public Attributes
mongo::MutexDebugger Class Reference

only used on _DEBUG builds. More...

#include <mutex.h>

List of all members.

Public Member Functions

void programEnding ()
 outputs some diagnostic info on mutexes (on _DEBUG builds)
void entering (mid m)
void leaving (mid m)

Public Attributes

string a
string b

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.


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