summaryrefslogtreecommitdiff
path: root/src/mongo/db/d_globals.cpp
blob: c8333542b7b1fb33e27addfbd1a2980a770fbe4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// @file d_globals.cpp

#include "pch.h"
#include "d_globals.h"
#include "../util/concurrency/rwlock.h"
#include "clientcursor.h"
#include "mongomutex.h"

namespace mongo { 

    DGlobals::DGlobals() :
        dbMutex( *(new MongoMutex()) ),
        clientCursorMonitor( *(new ClientCursorMonitor()) )
    {
    }

    DGlobals d;

}