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

Side by Side Diff: sdk/lib/isolate/base.dart

Issue 11416240: Address Ivan's comments. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Fix typos Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/intrinsifier.h ('k') | sdk/lib/utf/utf16.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 class IsolateSpawnException implements Exception { 5 class IsolateSpawnException implements Exception {
6 const IsolateSpawnException(String this._s); 6 const IsolateSpawnException(String this._s);
7 String toString() => "IsolateSpawnException: '$_s'"; 7 String toString() => "IsolateSpawnException: '$_s'";
8 final String _s; 8 final String _s;
9 } 9 }
10 10
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 // TODO(kasperl): Document this. 139 // TODO(kasperl): Document this.
140 abstract class SendPortSync { 140 abstract class SendPortSync {
141 141
142 callSync(var message); 142 callSync(var message);
143 143
144 } 144 }
145 145
146 // The VM doesn't support accessing external globals in the same library. We 146 // The VM doesn't support accessing external globals in the same library. We
147 // therefore create this wrapper class. 147 // therefore create this wrapper class.
148 // TODO(floitsch): add bug-number. 148 // TODO(6997): Don't go through static class for external variables.
149 abstract class _Isolate { 149 abstract class _Isolate {
150 external static ReceivePort get port; 150 external static ReceivePort get port;
151 external static SendPort spawnFunction(void topLevelFunction()); 151 external static SendPort spawnFunction(void topLevelFunction());
152 external static SendPort spawnUri(String uri); 152 external static SendPort spawnUri(String uri);
153 } 153 }
OLDNEW
« no previous file with comments | « runtime/vm/intrinsifier.h ('k') | sdk/lib/utf/utf16.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698