We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d82d20 commit 76d4703Copy full SHA for 76d4703
scripting/engine_spidermonkey.cpp
@@ -39,7 +39,7 @@ namespace mongo {
39
}
40
41
boost::thread_specific_ptr<SMScope> currentScope( dontDeleteScope );
42
- boost::recursive_mutex smmutex;
+ boost::recursive_mutex &smmutex = *( new boost::recursive_mutex );
43
#define smlock recursive_boostlock ___lk( smmutex );
44
45
#define GETHOLDER(x,o) ((BSONHolder*)JS_GetPrivate( x , o ))
0 commit comments