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

separated out as later the implementation of this may be different than RWLock, depending on OS, as there is no upgrade etc. More...

#include <simplerwlock.h>

Inheritance diagram for mongo::SimpleRWLock:

Classes

class  Exclusive
 
class  Shared
 

Public Member Functions

 SimpleRWLock (const StringData &name="")
 
void lock ()
 
void unlock ()
 
void lock_shared ()
 
void unlock_shared ()
 

Public Attributes

const string name
 

Detailed Description

separated out as later the implementation of this may be different than RWLock, depending on OS, as there is no upgrade etc.

facility herein.


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