| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 #ifndef VM_ISOLATE_H_ | 5 #ifndef VM_ISOLATE_H_ |
| 6 #define VM_ISOLATE_H_ | 6 #define VM_ISOLATE_H_ |
| 7 | 7 |
| 8 #include "include/dart_api.h" | 8 #include "include/dart_api.h" |
| 9 #include "platform/assert.h" | 9 #include "platform/assert.h" |
| 10 #include "platform/thread.h" | 10 #include "platform/thread.h" |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 kInterruptsMask = | 280 kInterruptsMask = |
| 281 kApiInterrupt | | 281 kApiInterrupt | |
| 282 kMessageInterrupt | | 282 kMessageInterrupt | |
| 283 kStoreBufferInterrupt | | 283 kStoreBufferInterrupt | |
| 284 kVmStatusInterrupt, | 284 kVmStatusInterrupt, |
| 285 }; | 285 }; |
| 286 | 286 |
| 287 void ScheduleInterrupts(uword interrupt_bits); | 287 void ScheduleInterrupts(uword interrupt_bits); |
| 288 uword GetAndClearInterrupts(); | 288 uword GetAndClearInterrupts(); |
| 289 | 289 |
| 290 // Marks all libraries as loaded. |
| 291 void DoneLoading(); |
| 292 |
| 290 bool MakeRunnable(); | 293 bool MakeRunnable(); |
| 291 void Run(); | 294 void Run(); |
| 292 | 295 |
| 293 MessageHandler* message_handler() const { return message_handler_; } | 296 MessageHandler* message_handler() const { return message_handler_; } |
| 294 void set_message_handler(MessageHandler* value) { message_handler_ = value; } | 297 void set_message_handler(MessageHandler* value) { message_handler_ = value; } |
| 295 | 298 |
| 296 bool is_runnable() const { return is_runnable_; } | 299 bool is_runnable() const { return is_runnable_; } |
| 297 void set_is_runnable(bool value) { is_runnable_ = value; } | 300 void set_is_runnable(bool value) { is_runnable_ = value; } |
| 298 | 301 |
| 299 IsolateSpawnState* spawn_state() const { return spawn_state_; } | 302 IsolateSpawnState* spawn_state() const { return spawn_state_; } |
| (...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 781 char* script_url_; | 784 char* script_url_; |
| 782 char* library_url_; | 785 char* library_url_; |
| 783 char* class_name_; | 786 char* class_name_; |
| 784 char* function_name_; | 787 char* function_name_; |
| 785 char* exception_callback_name_; | 788 char* exception_callback_name_; |
| 786 }; | 789 }; |
| 787 | 790 |
| 788 } // namespace dart | 791 } // namespace dart |
| 789 | 792 |
| 790 #endif // VM_ISOLATE_H_ | 793 #endif // VM_ISOLATE_H_ |
| OLD | NEW |