|
Update Isolate API.
Remove AS_EVENT as priority of ping/kill. It wasn't very usable or predictable.
Make priority consistently named and a named parameter.
Add response object to ping/addExitListener so it doesn't have to send null.
This is useful for cases where you want to use the same receive port for
multiple purposes.
R=sgjesse@google.com
Committed: https://code.google.com/p/dart/source/detail?r=45092
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+144 lines, -149 lines) |
Patch |
 |
M |
runtime/lib/isolate_patch.dart
|
View
|
|
3 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/isolate.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/isolate.cc
|
View
|
|
6 chunks |
+33 lines, -12 lines |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/compiler/js_lib/isolate_helper.dart
|
View
|
|
7 chunks |
+11 lines, -23 lines |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/compiler/js_lib/isolate_patch.dart
|
View
|
|
2 chunks |
+10 lines, -7 lines |
0 comments
|
Download
|
 |
M |
sdk/lib/isolate/isolate.dart
|
View
|
1
|
4 chunks |
+23 lines, -29 lines |
0 comments
|
Download
|
 |
M |
tests/isolate/kill2_test.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
D |
tests/isolate/kill3_test.dart
|
View
|
|
1 chunk |
+0 lines, -44 lines |
0 comments
|
Download
|
 |
M |
tests/isolate/kill_self_test.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests/isolate/kill_test.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests/isolate/ondone_test.dart
|
View
|
|
3 chunks |
+34 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/isolate/ping_pause_test.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests/isolate/ping_test.dart
|
View
|
|
1 chunk |
+17 lines, -20 lines |
0 comments
|
Download
|
Total messages: 13 (3 generated)
|