0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00
mongodb/db/common.cpp
2010-04-27 15:27:52 -04:00

15 lines
255 B
C++

// common.cpp
#include "pch.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) );
}