Storage Engine API
lock_state.h File Reference
#include <queue>
#include "mongo/db/concurrency/fast_map_noalloc.h"
#include "mongo/db/concurrency/locker.h"
#include "mongo/db/operation_context.h"
#include "mongo/platform/atomic_word.h"
#include "mongo/util/concurrency/spin_lock.h"

Go to the source code of this file.

Classes

class  mongo::CondVarLockGrantNotification
 Notfication callback, which stores the last notification result and signals a condition variable, which can be waited on. More...
 
class  mongo::LockerImpl< IsForMMAPV1 >
 Interface for acquiring locks. More...
 
class  mongo::AutoYieldFlushLockForMMAPV1Commit
 At global synchronization points, such as drop database we are running under a global exclusive lock and without an active write unit of work, doing changes which require global commit. More...
 
class  mongo::AutoAcquireFlushLockForMMAPV1Commit
 This explains how the MMAP V1 durability system is implemented. More...
 

Namespaces

 mongo
 Copyright (C) 2014 MongoDB Inc.
 

Typedefs

typedef LockerImpl< false > mongo::DefaultLockerImpl
 
typedef LockerImpl< true > mongo::MMAPV1LockerImpl
 

Functions

LockManager * mongo::getGlobalLockManager ()
 Retrieves the global lock manager instance. More...