#include <concurrency.h>
Public Member Functions | |
atleastreadlock (const string &ns) | |
~atleastreadlock () | |
Private Attributes | |
int | _prev |
assure we have at least a read lock - they key with this being if you have a write lock, that's ok too.
Definition at line 147 of file concurrency.h.
mongo::atleastreadlock::atleastreadlock | ( | const string & | ns | ) | [inline] |
Definition at line 148 of file concurrency.h.
mongo::atleastreadlock::~atleastreadlock | ( | ) | [inline] |
Definition at line 153 of file concurrency.h.
int mongo::atleastreadlock::_prev [private] |
Definition at line 158 of file concurrency.h.