mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 09:06:21 +01:00
15 lines
258 B
C++
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) );
|
|
|
|
}
|