diff options
Diffstat (limited to 'src/mongo/scripting/v8_utils.cpp')
-rw-r--r-- | src/mongo/scripting/v8_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/scripting/v8_utils.cpp b/src/mongo/scripting/v8_utils.cpp index a540666c61e..894d3ecbe27 100644 --- a/src/mongo/scripting/v8_utils.cpp +++ b/src/mongo/scripting/v8_utils.cpp @@ -252,7 +252,7 @@ namespace mongo { }; boost::shared_ptr<Latch> get(int32_t desc) { - boost::lock_guard<boost::mutex> lock(mutex); + boost::lock_guard<boost::mutex> lock(_mutex); Map::iterator iter = _latches.find(desc); jsassert(iter != _latches.end(), "not a valid CountDownLatch descriptor"); return iter->second; |