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

Unified Diff: runtime/include/dart_api.h

Issue 2483373002: Add Kernel Isolate (Closed)
Patch Set: wip Created 4 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
Index: runtime/include/dart_api.h
diff --git a/runtime/include/dart_api.h b/runtime/include/dart_api.h
index 93d6da504d184b881f8d3f8890317bc773bff27b..e8675bb28c18dca71ce65ef3ceacc1c62d234654 100644
--- a/runtime/include/dart_api.h
+++ b/runtime/include/dart_api.h
@@ -3131,6 +3131,20 @@ DART_EXPORT Dart_Handle Dart_SetPeer(Dart_Handle object, void* peer);
/*
+ * ======
+ * Kernel
+ * ======
+ */
+
+
+DART_EXPORT bool Dart_IsKernelIsolate(Dart_Isolate isolate);
Cutch 2016/12/01 19:47:23 doc comments
hausner 2016/12/03 01:29:00 Added todo.
+DART_EXPORT bool Dart_KernelIsolateIsRunning();
+DART_EXPORT Dart_Port Dart_ServiceWaitForKernelPort();
+DART_EXPORT Dart_Port Dart_KernelPort();
Cutch 2016/12/01 19:47:23 the API could be factored into something like this
hausner 2016/12/03 01:29:00 Good suggestion. I would like to wait with this un
+
+#define DART_KERNEL_ISOLATE_NAME "kernel-service"
+
+/*
* =======
* Service
* =======

Powered by Google App Engine
This is Rietveld 408576698