diff options
author | Andrew Morrow <acm@mongodb.com> | 2015-06-18 15:02:54 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2015-06-19 22:51:28 -0400 |
commit | 1178eff1ddf60a7dac3a8cd71e2fdd278aa01b52 (patch) | |
tree | ee3096045eb4d2e4f69d57ef85c66b3be69e4302 /src/mongo/db/concurrency/lock_manager.h | |
parent | 4b5fa5fc711e4cf94291665575fd1c742ad3e7c3 (diff) | |
download | mongo-1178eff1ddf60a7dac3a8cd71e2fdd278aa01b52.tar.gz |
SERVER-19041 Simplify SimpleMutex
Diffstat (limited to 'src/mongo/db/concurrency/lock_manager.h')
-rw-r--r-- | src/mongo/db/concurrency/lock_manager.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/db/concurrency/lock_manager.h b/src/mongo/db/concurrency/lock_manager.h index 1d8c054152b..badad082214 100644 --- a/src/mongo/db/concurrency/lock_manager.h +++ b/src/mongo/db/concurrency/lock_manager.h @@ -130,7 +130,6 @@ namespace mongo { // These types describe the locks hash table struct LockBucket { - LockBucket() : mutex("LockManager") { } SimpleMutex mutex; typedef unordered_map<ResourceId, LockHead*> Map; Map data; @@ -141,7 +140,6 @@ namespace mongo { // modes and potentially other modes that don't conflict with themselves. This avoids // contention on the regular LockHead in the lock manager. struct Partition { - Partition() : mutex("LockManager") { } PartitionedLockHead* find(ResourceId resId); PartitionedLockHead* findOrInsert(ResourceId resId); typedef unordered_map<ResourceId, PartitionedLockHead*> Map; |