| 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 #ifndef RUNTIME_VM_MESSAGE_HANDLER_H_ | 5 #ifndef RUNTIME_VM_MESSAGE_HANDLER_H_ |
| 6 #define RUNTIME_VM_MESSAGE_HANDLER_H_ | 6 #define RUNTIME_VM_MESSAGE_HANDLER_H_ |
| 7 | 7 |
| 8 #include "vm/isolate.h" | 8 #include "vm/isolate.h" |
| 9 #include "vm/lockers.h" | 9 #include "vm/lockers.h" |
| 10 #include "vm/message.h" | 10 #include "vm/message.h" |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 // This flag is not thread safe and can only reliably be accessed on a single | 232 // This flag is not thread safe and can only reliably be accessed on a single |
| 233 // thread. | 233 // thread. |
| 234 bool oob_message_handling_allowed_; | 234 bool oob_message_handling_allowed_; |
| 235 intptr_t live_ports_; // The number of open ports, including control ports. | 235 intptr_t live_ports_; // The number of open ports, including control ports. |
| 236 intptr_t paused_; // The number of pause messages received. | 236 intptr_t paused_; // The number of pause messages received. |
| 237 #if !defined(PRODUCT) | 237 #if !defined(PRODUCT) |
| 238 bool should_pause_on_start_; | 238 bool should_pause_on_start_; |
| 239 bool should_pause_on_exit_; | 239 bool should_pause_on_exit_; |
| 240 bool is_paused_on_start_; | 240 bool is_paused_on_start_; |
| 241 bool is_paused_on_exit_; | 241 bool is_paused_on_exit_; |
| 242 MessageStatus paused_on_exit_status_; |
| 242 int64_t paused_timestamp_; | 243 int64_t paused_timestamp_; |
| 243 #endif | 244 #endif |
| 244 bool delete_me_; | 245 bool delete_me_; |
| 245 ThreadPool* pool_; | 246 ThreadPool* pool_; |
| 246 ThreadPool::Task* task_; | 247 ThreadPool::Task* task_; |
| 247 StartCallback start_callback_; | 248 StartCallback start_callback_; |
| 248 EndCallback end_callback_; | 249 EndCallback end_callback_; |
| 249 CallbackData callback_data_; | 250 CallbackData callback_data_; |
| 250 | 251 |
| 251 DISALLOW_COPY_AND_ASSIGN(MessageHandler); | 252 DISALLOW_COPY_AND_ASSIGN(MessageHandler); |
| 252 }; | 253 }; |
| 253 | 254 |
| 254 } // namespace dart | 255 } // namespace dart |
| 255 | 256 |
| 256 #endif // RUNTIME_VM_MESSAGE_HANDLER_H_ | 257 #endif // RUNTIME_VM_MESSAGE_HANDLER_H_ |
| OLD | NEW |