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

On pthread systems, it is an error to destroy a mutex while held (boost mutex may use pthread). More...

#include <mutex.h>

Inheritance diagram for mongo::mutex:

Classes

class  scoped_lock
 
class  try_lock
 

Public Member Functions

 mutex (const char *name)
 

Public Attributes

const char *const _name
 

Detailed Description

On pthread systems, it is an error to destroy a mutex while held (boost mutex may use pthread).

Static global mutexes may be held upon shutdown in our implementation, and this way we avoid destroying them. NOT recursive.


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