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 2968753002: Support re-entrant calls to MessageQueueManager::Clear. (Closed)
Patch Set: Rebased Created 3 years, 5 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 | « no previous file | webrtc/rtc_base/messagequeue.cc » ('j') | webrtc/rtc_base/messagequeue.cc » ('J')
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 d4057cd2df791dd6c8180aeb2f9788432aad06dd..5d7ed08aefde918d2c13a713d91ef01acd6e3e57 100644
--- a/webrtc/rtc_base/messagequeue.h
+++ b/webrtc/rtc_base/messagequeue.h
@@ -70,9 +70,8 @@ class MessageQueueManager {
// This list contains all live MessageQueues.
std::vector<MessageQueue*> message_queues_ GUARDED_BY(crit_);
- // Acquire this with DebugNonReentrantCritScope.
CriticalSection crit_;
- bool locked_ GUARDED_BY(crit_);
+ size_t processing_ GUARDED_BY(crit_);
Taylor Brandstetter 2017/07/05 22:41:47 It would be nice if there was a comment describing
joachim 2017/07/05 23:03:11 Done.
};
// Derive from this for specialized data
« no previous file with comments | « no previous file | webrtc/rtc_base/messagequeue.cc » ('j') | webrtc/rtc_base/messagequeue.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698