summaryrefslogtreecommitdiff
path: root/src/mongo/db/d_concurrency.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-03-16 19:26:50 -0400
committerEliot Horowitz <eliot@10gen.com>2012-03-16 19:26:50 -0400
commit938ac1619dc88dc5f9e6df47dcb981fbf0f33663 (patch)
tree1a05a04682be54100087367ea1ad9f08ca60e5af /src/mongo/db/d_concurrency.h
parentc4851043c682c9e2a9230166045ce85b518b85eb (diff)
downloadmongo-938ac1619dc88dc5f9e6df47dcb981fbf0f33663.tar.gz
if in ThreadSpanningOp don't profile
Diffstat (limited to 'src/mongo/db/d_concurrency.h')
-rw-r--r--src/mongo/db/d_concurrency.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/d_concurrency.h b/src/mongo/db/d_concurrency.h
index 085f5775fec..06b62dd1027 100644
--- a/src/mongo/db/d_concurrency.h
+++ b/src/mongo/db/d_concurrency.h
@@ -77,6 +77,7 @@ namespace mongo {
static void W_to_R();
static void unsetW(); // reverts to greedy
static void unsetR(); // reverts to greedy
+ static bool isEnabled(); // if the thread spanning lock is enabled
};
};