Storage Engine API
d_concurrency.h File Reference
#include <climits>
#include "mongo/db/concurrency/locker.h"
#include "mongo/db/operation_context.h"
#include "mongo/util/timer.h"

Go to the source code of this file.

Classes

class  mongo::Lock
 
class  mongo::Lock::TempRelease
 NOTE: DO NOT add any new usages of TempRelease. More...
 
class  mongo::Lock::ResourceLock
 General purpose RAII wrapper for a resource managed by the lock manager. More...
 
class  mongo::Lock::ResourceMutex
 For use as general mutex or readers/writers lock, outside the general multi-granularity model. More...
 
class  mongo::Lock::ExclusiveLock
 Obtains a ResourceMutex for exclusive use. More...
 
class  mongo::Lock::SharedLock
 Obtains a ResourceMutex for shared/non-exclusive use. More...
 
class  mongo::Lock::GlobalLock
 Global lock. More...
 
class  mongo::Lock::GlobalLock::EnqueueOnly
 
class  mongo::Lock::GlobalWrite
 Global exclusive lock. More...
 
class  mongo::Lock::GlobalRead
 Global shared lock. More...
 
class  mongo::Lock::DBLock
 Database lock with support for collection- and document-level locking. More...
 
class  mongo::Lock::CollectionLock
 Collection lock with support for document-level locking. More...
 
class  mongo::Lock::OplogIntentWriteLock
 Like the CollectionLock, but optimized for the local oplog. More...
 
class  mongo::Lock::ParallelBatchWriterMode
 Turn on "parallel batch writer mode" by locking the global ParallelBatchWriterMode resource in exclusive mode. More...
 

Namespaces

 mongo
 Copyright (C) 2014 MongoDB Inc.