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

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

Issue 463993002: - Separate the thread implementation used in bin/ and vm/ (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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
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 #include "bin/dbg_connection.h" 5 #include "bin/dbg_connection.h"
6 #include "bin/dbg_message.h" 6 #include "bin/dbg_message.h"
7 #include "bin/dartutils.h" 7 #include "bin/dartutils.h"
8 #include "bin/lockers.h"
8 #include "bin/thread.h" 9 #include "bin/thread.h"
9 #include "bin/utils.h" 10 #include "bin/utils.h"
10 11
11 #include "platform/globals.h" 12 #include "platform/globals.h"
12 #include "platform/json.h" 13 #include "platform/json.h"
13 #include "platform/thread.h"
14 #include "platform/utils.h" 14 #include "platform/utils.h"
15 15
16 #include "include/dart_api.h" 16 #include "include/dart_api.h"
17 17
18 18
19 namespace dart { 19 namespace dart {
20 namespace bin { 20 namespace bin {
21 21
22 bool MessageParser::IsValidMessage() const { 22 bool MessageParser::IsValidMessage() const {
23 if (buf_length_ == 0) { 23 if (buf_length_ == 0) {
(...skipping 1387 matching lines...) Expand 10 before | Expand all | Expand 10 after
1411 } else { 1411 } else {
1412 ASSERT(kind == kShutdown); 1412 ASSERT(kind == kShutdown);
1413 RemoveIsolateMsgQueue(isolate_id); 1413 RemoveIsolateMsgQueue(isolate_id);
1414 } 1414 }
1415 } 1415 }
1416 Dart_ExitScope(); 1416 Dart_ExitScope();
1417 } 1417 }
1418 1418
1419 } // namespace bin 1419 } // namespace bin
1420 } // namespace dart 1420 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/bin/dbg_message.h ('k') | runtime/bin/directory.h » ('j') | runtime/bin/io_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698