Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(571)

Side by Side Diff: runtime/bin/dbg_message.h

Issue 15861016: Don't use statically declared Mutex in debugger (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/bin/dbg_message.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/dbg_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698