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

Unified Diff: runtime/lib/isolate.dart

Issue 9422019: isolates refactor: this change introduces 'dart:isolate' as a library. This is a (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: '' Created 8 years, 10 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/lib/isolate.dart
diff --git a/runtime/lib/isolate.dart b/runtime/lib/isolate.dart
index 13ec8dd66cd9f39bfcfb6878fbeea9f35e76e278..22ddca07a38f588ec052ee51e3d7081307af4c62 100644
--- a/runtime/lib/isolate.dart
+++ b/runtime/lib/isolate.dart
@@ -139,8 +139,7 @@ class SendPortImpl implements SendPort {
final int _id;
}
-
-class IsolateNatives {
+class _IsolateNatives {
static Future<SendPort> spawn(Isolate isolate, bool isLight) {
Completer<SendPort> completer = new Completer<SendPort>();
SendPort port = _start(isolate, isLight);
@@ -155,3 +154,14 @@ class IsolateNatives {
static SendPort _start(Isolate isolate, bool light)
native "IsolateNatives_start";
}
+
+class _IsolateFactory {
+
+ factory Isolate2.fromCode(Function topLevelFunction) {
+ throw new NotImplementedException();
+ }
+
+ factory Isolate2.fromUri(String uri) {
+ throw new NotImplementedException();
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698