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

Unified Diff: runtime/bin/common_patch.dart

Issue 25646004: Add Dart_PostPriority function to dart_api, and use it in runAsync to schedule immediate events in … (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: More cleanup Created 7 years, 2 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
Index: runtime/bin/common_patch.dart
diff --git a/runtime/bin/common_patch.dart b/runtime/bin/common_patch.dart
index 31fa7fa88e4534ab2fd4487902207d16b668dad4..55e2c8774f12e6302355fefadbbfbbab37dc1016 100644
--- a/runtime/bin/common_patch.dart
+++ b/runtime/bin/common_patch.dart
@@ -6,3 +6,7 @@ patch class _IOCrypto {
/* patch */ static Uint8List getRandomBytes(int count)
native "Crypto_GetRandomBytes";
}
+
+patch class _DartAPI {
+ static void _sendPriority(port, msg) native "DartAPI_SendPriority";
+}
« no previous file with comments | « runtime/bin/builtin_natives.cc ('k') | runtime/bin/dartutils.cc » ('j') | runtime/vm/message.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698