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

Unified Diff: lib/isolate/isolate_compiler.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_api.dart ('k') | lib/isolate/isolate_frog.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/isolate/isolate_compiler.dart
diff --git a/lib/isolate/isolate_compiler.dart b/lib/isolate/isolate_compiler.dart
index bc3ab2eadc3cdce736e0dcf099f5b69d31b7ca8c..617d4d3bb229346c396dbb1c660597cd1a6de586 100644
--- a/lib/isolate/isolate_compiler.dart
+++ b/lib/isolate/isolate_compiler.dart
@@ -9,15 +9,12 @@
#source("isolate_api.dart");
-class _IsolateFactory {
-
- 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();
}
class _IsolateNatives {
« no previous file with comments | « lib/isolate/isolate_api.dart ('k') | lib/isolate/isolate_frog.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698