summaryrefslogtreecommitdiffstats
path: root/base/thread_collision_warner.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/thread_collision_warner.h')
-rw-r--r--base/thread_collision_warner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/thread_collision_warner.h b/base/thread_collision_warner.h
index fa8b7ee..6545451 100644
--- a/base/thread_collision_warner.h
+++ b/base/thread_collision_warner.h
@@ -225,7 +225,7 @@ class ThreadCollisionWarner {
// This stores the thread id that is inside the critical section, if the
// value is 0 then no thread is inside.
- volatile int valid_thread_id_;
+ volatile subtle::Atomic32 valid_thread_id_;
// Counter to trace how many time a critical section was "pinned"
// (when allowed) in order to unpin it when counter_ reaches 0.