summaryrefslogtreecommitdiff
path: root/db/common.cpp
diff options
context:
space:
mode:
authorDwight Merriman <dwight@10gen.com>2010-05-27 15:21:10 -0400
committerDwight Merriman <dwight@10gen.com>2010-05-27 15:21:10 -0400
commit37f2cc06a58b911f96347d02c7e105b89a0976e2 (patch)
treef00ed501943a8c27ce75dacdaa195bade7f60376 /db/common.cpp
parentaa3e6e29afc8b9ed3548d2c631eae4f8b7d41710 (diff)
downloadmongo-37f2cc06a58b911f96347d02c7e105b89a0976e2.tar.gz
rwlocks participate in mutexDebugger
Diffstat (limited to 'db/common.cpp')
-rw-r--r--db/common.cpp2
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")) );
}