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

Unified Diff: runtime/lib/isolate.dart

Issue 9521007: isolates: remove Isolate2 interface, add top-level spawn functions, more comments (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
« no previous file with comments | « lib/isolate/isolate_frog.dart ('k') | tests/isolate/src/APIv2_spawnBrowserNegativeTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/isolate.dart
diff --git a/runtime/lib/isolate.dart b/runtime/lib/isolate.dart
index e91fd0ea416acadc15eaca9405d2b52c8e0df7c2..5974946110df22ffe278727c2cc87fa77698106c 100644
--- a/runtime/lib/isolate.dart
+++ b/runtime/lib/isolate.dart
@@ -155,13 +155,14 @@ class _IsolateNatives {
native "IsolateNatives_start";
}
-class _IsolateFactory {
+// TODO(sigmund,turnidge): implement
- factory Isolate2.fromCode(Function topLevelFunction) {
- throw new NotImplementedException();
- }
+SendPort _spawnFunction(void topLevelFunction()) {
+ throw new NotImplementedException();
+}
- factory Isolate2.fromUri(String uri) {
- throw new NotImplementedException();
- }
+SendPort _spawnUri(String uri) {
+ throw new NotImplementedException();
}
+
+ReceivePort _port = null;
« no previous file with comments | « lib/isolate/isolate_frog.dart ('k') | tests/isolate/src/APIv2_spawnBrowserNegativeTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698