2010-02-07 01:38:54 -05:00
|
|
|
// common.cpp
|
|
|
|
|
|
2010-04-27 15:27:52 -04:00
|
|
|
#include "pch.h"
|
2010-02-07 01:38:54 -05: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 */
|
2010-05-27 15:21:10 -04:00
|
|
|
MongoMutex &dbMutex( *(new MongoMutex("rw:dbMutex")) );
|
2010-02-07 01:38:54 -05:00
|
|
|
|
|
|
|
|
}
|