MongoDB  2.7.0
Public Member Functions | List of all members
mongo::rwlock Class Reference
Inheritance diagram for mongo::rwlock:

Public Member Functions

 rwlock (const RWLock &lock, bool write, int lowPriorityWaitMS=0)
 

Constructor & Destructor Documentation

mongo::rwlock::rwlock ( const RWLock lock,
bool  write,
int  lowPriorityWaitMS = 0 
)
inline
Parameters
writeacquire write lock if true sharable if false
lowPriorityif > 0, will try to get the lock non-greedily for that many ms

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