MongoDB  2.7.0
Classes | Public Member Functions | Public Attributes | List of all members
mongo::RWLock Class Reference
Inheritance diagram for mongo::RWLock:
mongo::RWLockBase

Classes

class  Upgradable
 acquire upgradable state. More...
 

Public Member Functions

 RWLock (const char *name)
 
void lock ()
 
void unlock ()
 
void lock_shared ()
 
void unlock_shared ()
 
void upgrade ()
 
bool lock_shared_try (int millis)
 
bool lock_try (int millis=0)
 
- Public Member Functions inherited from mongo::RWLockBase
const char * implType () const
 

Public Attributes

const char *const _name
 

Additional Inherited Members

- 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)
 

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