diff options
author | Dwight Merriman <dwight@10gen.com> | 2010-05-27 15:21:10 -0400 |
---|---|---|
committer | Dwight Merriman <dwight@10gen.com> | 2010-05-27 15:21:10 -0400 |
commit | 37f2cc06a58b911f96347d02c7e105b89a0976e2 (patch) | |
tree | f00ed501943a8c27ce75dacdaa195bade7f60376 /db/common.cpp | |
parent | aa3e6e29afc8b9ed3548d2c631eae4f8b7d41710 (diff) | |
download | mongo-37f2cc06a58b911f96347d02c7e105b89a0976e2.tar.gz |
rwlocks participate in mutexDebugger
Diffstat (limited to 'db/common.cpp')
-rw-r--r-- | db/common.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/common.cpp b/db/common.cpp index 4df5b0e4276..aa2eaac8ca8 100644 --- a/db/common.cpp +++ b/db/common.cpp @@ -9,6 +9,6 @@ namespace mongo { /* we use new here so we don't have to worry about destructor orders at program shutdown */ - MongoMutex &dbMutex( *(new MongoMutex) ); + MongoMutex &dbMutex( *(new MongoMutex("rw:dbMutex")) ); } |