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

Unified Diff: tests/standalone/vmservice/isolate_stacktrace_command_script.dart

Issue 27215002: Very simple version of Isolates. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. 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: tests/standalone/vmservice/isolate_stacktrace_command_script.dart
diff --git a/tests/standalone/vmservice/isolate_stacktrace_command_script.dart b/tests/standalone/vmservice/isolate_stacktrace_command_script.dart
index b9bbccff4a13b0dd6ef3cbd45a055e7829d37289..6524ce558c253a21f44dfe0fb9a019a2446199c1 100644
--- a/tests/standalone/vmservice/isolate_stacktrace_command_script.dart
+++ b/tests/standalone/vmservice/isolate_stacktrace_command_script.dart
@@ -25,12 +25,12 @@ class C {
}
}
-void myIsolateName() {
+void myIsolateName(_) {
new C().c();
}
main() {
- spawnFunction(myIsolateName);
+ Isolate.spawn(myIsolateName, null);
// Wait until signaled from spawning test.
stdin.first.then((_) => exit(0));
}
« no previous file with comments | « tests/standalone/typed_data_isolate_test.dart ('k') | tests/standalone/vmservice/multiple_isolate_list_script.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698