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

Unified Diff: runtime/vm/message.h

Issue 11642048: Revert "Optimize the message queue for many active ports with few messages." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 | « runtime/vm/isolate.cc ('k') | runtime/vm/message.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/message.h
diff --git a/runtime/vm/message.h b/runtime/vm/message.h
index 80d1df56d1c8c210d08072e18a41da9cab03addb..9e99cfccd015ef1bb84cc802f06866b9fe7a2b96 100644
--- a/runtime/vm/message.h
+++ b/runtime/vm/message.h
@@ -76,8 +76,8 @@ class MessageQueue {
// message is available. This function will not block.
Message* Dequeue();
- // Clear all messages from the message queue.
- void Clear();
+ void Flush(Dart_Port port);
+ void FlushAll();
private:
friend class MessageQueueTestPeer;
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698