2010-02-07 01:38:54 -05:00
|
|
|
// common.cpp
|
|
|
|
|
|
2010-02-08 11:29:49 -05:00
|
|
|
#include "stdafx.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 */
|
|
|
|
|
MongoMutex &dbMutex( *(new MongoMutex) );
|
|
|
|
|
|
|
|
|
|
}
|