summaryrefslogtreecommitdiff
path: root/src/mongo/db/d_concurrency.h
diff options
context:
space:
mode:
authorDwight <dwight@10gen.com>2012-04-19 11:19:46 -0400
committerDwight <dwight@10gen.com>2012-04-19 11:19:46 -0400
commitc251c719722f1af49c02ce083b2c69b7eccc123a (patch)
tree896a4ecd7cb1908fa3a5f5a91c830e5fef8ad61a /src/mongo/db/d_concurrency.h
parent03b7caca51f1772f009a031eaeb197b54e3cf409 (diff)
downloadmongo-c251c719722f1af49c02ce083b2c69b7eccc123a.tar.gz
move some code to cpp file from header
Diffstat (limited to 'src/mongo/db/d_concurrency.h')
-rw-r--r--src/mongo/db/d_concurrency.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/d_concurrency.h b/src/mongo/db/d_concurrency.h
index b783c81fb85..d769c3d91c8 100644
--- a/src/mongo/db/d_concurrency.h
+++ b/src/mongo/db/d_concurrency.h
@@ -4,6 +4,8 @@
#pragma once
+#include "lockstat.h"
+
namespace mongo {
class WrapperForRWLock;
@@ -190,6 +192,7 @@ namespace mongo {
some overhead so we don't use this for everything. the externalobjsort mutex
uses this, as it can be held for eons. implementation still needed. */
class HLMutex : public SimpleMutex {
+ LockStat ls;
public:
HLMutex(const char *name);
};