mongo::atleastreadlock Struct Reference

#include <concurrency.h>

List of all members.

Public Member Functions

 atleastreadlock (const string &ns)
 ~atleastreadlock ()

Private Attributes

int _prev

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Data Documentation

Definition at line 158 of file concurrency.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mongodb
Author(s): Nate Koenig
autogenerated on Fri Jan 11 12:15:53 2013