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

Side by Side Diff: runtime/vm/message.h

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) 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 VM_MESSAGE_H_ 5 #ifndef VM_MESSAGE_H_
6 #define VM_MESSAGE_H_ 6 #define VM_MESSAGE_H_
7 7
8 #include "vm/thread.h" 8 #include "platform/assert.h"
9 #include "vm/globals.h"
9 10
10 // Duplicated from dart_api.h to avoid including the whole header. 11 // Duplicated from dart_api.h to avoid including the whole header.
11 typedef int64_t Dart_Port; 12 typedef int64_t Dart_Port;
12 13
13 namespace dart { 14 namespace dart {
14 15
15 class Message { 16 class Message {
16 public: 17 public:
17 typedef enum { 18 typedef enum {
18 kNormalPriority = 0, // Deliver message when idle. 19 kNormalPriority = 0, // Deliver message when idle.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 101
101 Message* head_; 102 Message* head_;
102 Message* tail_; 103 Message* tail_;
103 104
104 DISALLOW_COPY_AND_ASSIGN(MessageQueue); 105 DISALLOW_COPY_AND_ASSIGN(MessageQueue);
105 }; 106 };
106 107
107 } // namespace dart 108 } // namespace dart
108 109
109 #endif // VM_MESSAGE_H_ 110 #endif // VM_MESSAGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698