OLD | NEW |
1 // Copyright (c) 2011, 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 VM_THREAD_H_ | 5 #ifndef VM_THREAD_H_ |
6 #define VM_THREAD_H_ | 6 #define VM_THREAD_H_ |
7 | 7 |
8 #include "vm/assert.h" | 8 #include "platform/assert.h" |
9 #include "vm/allocation.h" | 9 #include "vm/allocation.h" |
10 #include "vm/globals.h" | 10 #include "vm/globals.h" |
11 #include "vm/isolate.h" | 11 #include "vm/isolate.h" |
12 | 12 |
13 // Declare the OS-specific types ahead of defining the generic classes. | 13 // Declare the OS-specific types ahead of defining the generic classes. |
14 #if defined(TARGET_OS_LINUX) | 14 #if defined(TARGET_OS_LINUX) |
15 #include "vm/thread_linux.h" | 15 #include "vm/thread_linux.h" |
16 #elif defined(TARGET_OS_MACOS) | 16 #elif defined(TARGET_OS_MACOS) |
17 #include "vm/thread_macos.h" | 17 #include "vm/thread_macos.h" |
18 #elif defined(TARGET_OS_WINDOWS) | 18 #elif defined(TARGET_OS_WINDOWS) |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 private: | 136 private: |
137 Monitor* const monitor_; | 137 Monitor* const monitor_; |
138 | 138 |
139 DISALLOW_COPY_AND_ASSIGN(MonitorLocker); | 139 DISALLOW_COPY_AND_ASSIGN(MonitorLocker); |
140 }; | 140 }; |
141 | 141 |
142 } // namespace dart | 142 } // namespace dart |
143 | 143 |
144 | 144 |
145 #endif // VM_THREAD_H_ | 145 #endif // VM_THREAD_H_ |
OLD | NEW |