summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Chan <jason.chan@mongodb.com>2019-07-15 15:46:30 -0400
committerJason Chan <jason.chan@mongodb.com>2019-07-15 15:46:30 -0400
commita120d22f3eb76b9d128e423fbc83051c8a1b3bc7 (patch)
treeea7a93bb24171d0a23abbfc905c3949ebbddad42
parent44080f6542850434cb53f277bf5973e66fd90553 (diff)
downloadmongo-a120d22f3eb76b9d128e423fbc83051c8a1b3bc7.tar.gz
Initial commit; add isSync
-rw-r--r--src/mongo/util/fail_point.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/util/fail_point.h b/src/mongo/util/fail_point.h
index f82d85785a5..d535a5297a1 100644
--- a/src/mongo/util/fail_point.h
+++ b/src/mongo/util/fail_point.h
@@ -168,6 +168,8 @@ private:
static const ValType ACTIVE_BIT = 1 << 31;
static const ValType REF_COUNTER_MASK = ~ACTIVE_BIT;
+ bool _isSync;
+
// Bit layout:
// 31: tells whether this fail point is active.
// 0~30: unsigned ref counter for active dynamic instances.