Index: webrtc/base/messagequeue.h |
diff --git a/webrtc/base/messagequeue.h b/webrtc/base/messagequeue.h |
index 15b98565b770e0eef60563c82e25d3ff4da03c07..a1b20da0e5194ac849b21b5a579418deff04ec1a 100644 |
--- a/webrtc/base/messagequeue.h |
+++ b/webrtc/base/messagequeue.h |
@@ -68,8 +68,11 @@ class MessageQueueManager { |
static MessageQueueManager* instance_; |
// This list contains all live MessageQueues. |
- std::vector<MessageQueue *> message_queues_; |
+ std::vector<MessageQueue*> message_queues_ GUARDED_BY(crit_); |
+ |
+ // Acquire this with DebugNonReentrantCritScope. |
CriticalSection crit_; |
+ bool locked_ GUARDED_BY(crit_); |
}; |
// Derive from this for specialized data |