OLD | NEW |
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 | 5 |
6 // Dart isolate's API for the dartc compiler (only used for type checking in the | 6 // Dart isolate's API for the dartc compiler (only used for type checking in the |
7 // dart editor, but not for code generation). | 7 // dart editor, but not for code generation). |
8 #library("dart:isolate"); | 8 #library("dart:isolate"); |
9 | 9 |
10 #source("isolate_api.dart"); | 10 #source("isolate_api.dart"); |
11 #source("timer.dart"); | 11 #source("timer.dart"); |
12 #source("timer_hook.dart"); | 12 #source("timer_hook.dart"); |
13 | 13 |
14 SendPort _spawnFunction(void topLevelFunction()) { | 14 SendPort _spawnFunction(void topLevelFunction()) { |
15 throw new NotImplementedException(); | 15 throw new NotImplementedException(); |
16 } | 16 } |
17 | 17 |
18 SendPort _spawnUri(String uri) { | 18 SendPort _spawnUri(String uri) { |
19 throw new NotImplementedException(); | 19 throw new NotImplementedException(); |
20 } | 20 } |
21 | 21 |
22 ReceivePort _port = null; | 22 ReceivePort _port = null; |
23 | 23 |
24 class _IsolateNatives { | |
25 static Future<SendPort> spawn(Isolate isolate, bool isLight) { | |
26 throw new NotImplementedException(); | |
27 } | |
28 } | |
29 | |
30 class _ReceivePortFactory { | 24 class _ReceivePortFactory { |
31 factory ReceivePort() { | 25 factory ReceivePort() { |
32 throw new NotImplementedException(); | 26 throw new NotImplementedException(); |
33 } | 27 } |
34 } | 28 } |
OLD | NEW |