SERVER-695 don't destroy static global mutexes

This commit is contained in:
Aaron
2010-03-09 23:59:10 -08:00
parent c4b55b2957
commit 714ec2fdc8
50 changed files with 204 additions and 153 deletions

View File

@@ -34,7 +34,7 @@ namespace mongo {
const char * (*getcurns)() = default_getcurns;
int logLevel = 0;
boost::mutex &Logstream::mutex = *( new boost::mutex );
mongo::mutex Logstream::mutex;
int Logstream::doneSetup = Logstream::magicNumber();
bool goingAway = false;
@@ -137,5 +137,7 @@ namespace mongo {
s << (string)o;
return s;
}
bool __destroyingStatics = false;
} // namespace mongo