summaryrefslogtreecommitdiffstats
path: root/base/lock_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/lock_impl.h')
-rw-r--r--base/lock_impl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/base/lock_impl.h b/base/lock_impl.h
index 4bd27dc..b3b6237 100644
--- a/base/lock_impl.h
+++ b/base/lock_impl.h
@@ -48,6 +48,13 @@ class LockImpl {
private:
OSLockType os_lock_;
+#if !defined(NDEBUG) && defined(OS_WIN)
+ // All private data is implicitly protected by lock_.
+ // Be VERY careful to only access members under that lock.
+ int32 recursion_count_shadow_;
+ bool recursion_used_; // Allow debugging to continued after a DCHECK().
+#endif // NDEBUG
+
DISALLOW_COPY_AND_ASSIGN(LockImpl);
};