| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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"); |
| 12 #source("timer_hook.dart"); |
| 11 | 13 |
| 12 SendPort _spawnFunction(void topLevelFunction()) { | 14 SendPort _spawnFunction(void topLevelFunction()) { |
| 13 throw new NotImplementedException(); | 15 throw new NotImplementedException(); |
| 14 } | 16 } |
| 15 | 17 |
| 16 SendPort _spawnUri(String uri) { | 18 SendPort _spawnUri(String uri) { |
| 17 throw new NotImplementedException(); | 19 throw new NotImplementedException(); |
| 18 } | 20 } |
| 19 | 21 |
| 20 ReceivePort _port = null; | 22 ReceivePort _port = null; |
| 21 | 23 |
| 22 class _IsolateNatives { | 24 class _IsolateNatives { |
| 23 static Future<SendPort> spawn(Isolate isolate, bool isLight) { | 25 static Future<SendPort> spawn(Isolate isolate, bool isLight) { |
| 24 throw new NotImplementedException(); | 26 throw new NotImplementedException(); |
| 25 } | 27 } |
| 26 } | 28 } |
| 27 | 29 |
| 28 class _ReceivePortFactory { | 30 class _ReceivePortFactory { |
| 29 | 31 |
| 30 factory ReceivePort() { | 32 factory ReceivePort() { |
| 31 throw new NotImplementedException(); | 33 throw new NotImplementedException(); |
| 32 } | 34 } |
| 33 } | 35 } |
| OLD | NEW |