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

Unified Diff: runtime/vm/message_handler.cc

Issue 749373002: - Implement Isolate.ping. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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/message_handler.h ('k') | runtime/vm/message_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/message_handler.cc
===================================================================
--- runtime/vm/message_handler.cc (revision 42173)
+++ runtime/vm/message_handler.cc (working copy)
@@ -92,7 +92,7 @@
}
-void MessageHandler::PostMessage(Message* message) {
+void MessageHandler::PostMessage(Message* message, bool before_events) {
MonitorLocker ml(&monitor_);
if (FLAG_trace_isolates) {
const char* source_name = "<native code>";
@@ -109,9 +109,9 @@
Message::Priority saved_priority = message->priority();
if (message->IsOOB()) {
- oob_queue_->Enqueue(message);
+ oob_queue_->Enqueue(message, before_events);
} else {
- queue_->Enqueue(message);
+ queue_->Enqueue(message, before_events);
}
message = NULL; // Do not access message. May have been deleted.
« no previous file with comments | « runtime/vm/message_handler.h ('k') | runtime/vm/message_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698