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

15 lines
255 B
C++
Raw Normal View History

2010-02-07 07:38:54 +01:00
// common.cpp
2010-04-27 21:27:52 +02:00
#include "pch.h"
2010-02-07 07:38:54 +01:00
#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) );
}