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

Unified Diff: runtime/vm/message.h

Issue 9420038: Heartbeat implementation of dart:mirrors. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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 | « 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
===================================================================
--- runtime/vm/message.h (revision 5107)
+++ runtime/vm/message.h (working copy)
@@ -78,13 +78,17 @@
// not block.
Message* DequeueNoWait();
+ // Gets the next message of the specified priority or greater from
+ // the message queue if available. Will not block.
+ Message* DequeueNoWaitWithPriority(Message::Priority min_priority);
+
void Flush(Dart_Port port);
void FlushAll();
private:
friend class MessageQueueTestPeer;
- Message* DequeueNoWaitHoldsLock();
+ Message* DequeueNoWaitHoldsLock(Message::Priority min_priority);
Monitor monitor_;
Message* head_[Message::kNumPriorities];
« 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