0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 09:06:21 +01:00
mongodb/db/common.cpp
2010-02-08 11:29:49 -05:00

15 lines
258 B
C++

// common.cpp
#include "stdafx.h"
#include "concurrency.h"
/**
* this just has globals
*/
namespace mongo {
/* we use new here so we don't have to worry about destructor orders at program shutdown */
MongoMutex &dbMutex( *(new MongoMutex) );
}