| 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 #ifndef BIN_DBG_MESSAGE_H_ | 5 #ifndef BIN_DBG_MESSAGE_H_ |
| 6 #define BIN_DBG_MESSAGE_H_ | 6 #define BIN_DBG_MESSAGE_H_ |
| 7 | 7 |
| 8 #include "bin/builtin.h" | 8 #include "bin/builtin.h" |
| 9 #include "bin/utils.h" | 9 #include "bin/utils.h" |
| 10 | 10 |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 static void IsolateEventHandler(Dart_IsolateId isolate_id, | 248 static void IsolateEventHandler(Dart_IsolateId isolate_id, |
| 249 Dart_IsolateEvent kind); | 249 Dart_IsolateEvent kind); |
| 250 | 250 |
| 251 // Print list of isolate ids of all message queues into text buffer. | 251 // Print list of isolate ids of all message queues into text buffer. |
| 252 static void ListIsolateIds(dart::TextBuffer* msg); | 252 static void ListIsolateIds(dart::TextBuffer* msg); |
| 253 | 253 |
| 254 private: | 254 private: |
| 255 static DbgMsgQueue* GetIsolateMsgQueueLocked(Dart_IsolateId isolate_id); | 255 static DbgMsgQueue* GetIsolateMsgQueueLocked(Dart_IsolateId isolate_id); |
| 256 | 256 |
| 257 static DbgMsgQueue* list_; | 257 static DbgMsgQueue* list_; |
| 258 static dart::Mutex msg_queue_list_lock_; | 258 static dart::Mutex* msg_queue_list_lock_; |
| 259 | 259 |
| 260 DISALLOW_ALLOCATION(); | 260 DISALLOW_ALLOCATION(); |
| 261 DISALLOW_IMPLICIT_CONSTRUCTORS(DbgMsgQueueList); | 261 DISALLOW_IMPLICIT_CONSTRUCTORS(DbgMsgQueueList); |
| 262 }; | 262 }; |
| 263 | 263 |
| 264 } // namespace bin | 264 } // namespace bin |
| 265 } // namespace dart | 265 } // namespace dart |
| 266 | 266 |
| 267 #endif // BIN_DBG_MESSAGE_H_ | 267 #endif // BIN_DBG_MESSAGE_H_ |
| OLD | NEW |