Revert "SERVER-695 don't destroy static global mutexes"

This reverts commit 714ec2fdc8.
This commit is contained in:
Aaron
2010-03-10 00:39:26 -08:00
parent 26b6ffe30a
commit eb7cde3e75
50 changed files with 153 additions and 204 deletions

View File

@@ -46,7 +46,7 @@ namespace mongo {
boost::thread_specific_ptr<SMScope> currentScope( dontDeleteScope );
boost::recursive_mutex &smmutex = *( new boost::recursive_mutex );
#define smlock recursive_scoped_lock ___lk( smmutex );
#define smlock recursive_boostlock ___lk( smmutex );
#define GETHOLDER(x,o) ((BSONHolder*)JS_GetPrivate( x , o ))