MongoDB  2.7.0
Classes | Public Member Functions | List of all members
mongo::RecursiveMutex Class Reference

This can be used instead of boost recursive mutex. More...

#include <mutex.h>

Inheritance diagram for mongo::RecursiveMutex:

Classes

class  scoped_lock
 

Public Member Functions

 RecursiveMutex (const StringData &name)
 
bool isLocked () const
 

Detailed Description

This can be used instead of boost recursive mutex.

The advantage is the _DEBUG checks and ability to assertLocked(). This has not yet been tested for speed vs. the boost one.


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