Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: webrtc/rtc_base/messagequeue.h

Issue 3006133002: Update thread annotiation macros in rtc_base to use RTC_ prefix (Closed)
Patch Set: Rebase Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/rtc_base/logging.cc ('k') | webrtc/rtc_base/messagequeue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/rtc_base/messagequeue.h
diff --git a/webrtc/rtc_base/messagequeue.h b/webrtc/rtc_base/messagequeue.h
index 2345dce7db5ef79ebcbe30a13d3d05bafb8f6024..79217fb7214fa0d08f129dab2daed2c69f0a46ca 100644
--- a/webrtc/rtc_base/messagequeue.h
+++ b/webrtc/rtc_base/messagequeue.h
@@ -68,13 +68,13 @@ class MessageQueueManager {
static MessageQueueManager* instance_;
// This list contains all live MessageQueues.
- std::vector<MessageQueue*> message_queues_ GUARDED_BY(crit_);
+ std::vector<MessageQueue*> message_queues_ RTC_GUARDED_BY(crit_);
// Methods that don't modify the list of message queues may be called in a
// re-entrant fashion. "processing_" keeps track of the depth of re-entrant
// calls.
CriticalSection crit_;
- size_t processing_ GUARDED_BY(crit_);
+ size_t processing_ RTC_GUARDED_BY(crit_);
};
// Derive from this for specialized data
@@ -306,9 +306,9 @@ class MessageQueue {
bool fPeekKeep_;
Message msgPeek_;
- MessageList msgq_ GUARDED_BY(crit_);
- PriorityQueue dmsgq_ GUARDED_BY(crit_);
- uint32_t dmsgq_next_num_ GUARDED_BY(crit_);
+ MessageList msgq_ RTC_GUARDED_BY(crit_);
+ PriorityQueue dmsgq_ RTC_GUARDED_BY(crit_);
+ uint32_t dmsgq_next_num_ RTC_GUARDED_BY(crit_);
CriticalSection crit_;
bool fInitialized_;
bool fDestroyed_;
« no previous file with comments | « webrtc/rtc_base/logging.cc ('k') | webrtc/rtc_base/messagequeue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698