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:
Generated on Wed Sep 14 01:46:41 2011 for MongoDB by  doxygen 1.6.3