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

recursive on shared locks is ok for this implementation More...

#include <rwlock.h>

Inheritance diagram for mongo::RWLockRecursive:
mongo::RWLockBase mongo::RWLockRecursiveNongreedy

Classes

class  Exclusive
 
class  Shared
 

Public Member Functions

 RWLockRecursive (const char *name)
 
void assertAtLeastReadLocked ()
 
void assertExclusivelyLocked ()
 

Public Attributes

const char *const _name
 

Protected Member Functions

void lock ()
 
virtual void Lock ()
 
- Protected Member Functions inherited from mongo::RWLockBase
void lock ()
 
void unlock ()
 
void lockAsUpgradable ()
 
void unlockFromUpgradable ()
 
void upgrade ()
 
void lock_shared ()
 
void unlock_shared ()
 
bool lock_shared_try (int millis)
 
bool lock_try (int millis=0)
 
const char * implType () const
 

Protected Attributes

ThreadLocalValue< int > _state
 

Detailed Description

recursive on shared locks is ok for this implementation


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