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 VM_OS_THREAD_H_ | 5 #ifndef RUNTIME_VM_OS_THREAD_H_ |
6 #define VM_OS_THREAD_H_ | 6 #define RUNTIME_VM_OS_THREAD_H_ |
7 | 7 |
8 #include "platform/globals.h" | 8 #include "platform/globals.h" |
9 #include "vm/allocation.h" | 9 #include "vm/allocation.h" |
10 #include "vm/globals.h" | 10 #include "vm/globals.h" |
11 | 11 |
12 // Declare the OS-specific types ahead of defining the generic classes. | 12 // Declare the OS-specific types ahead of defining the generic classes. |
13 #if defined(TARGET_OS_ANDROID) | 13 #if defined(TARGET_OS_ANDROID) |
14 #include "vm/os_thread_android.h" | 14 #include "vm/os_thread_android.h" |
15 #elif defined(TARGET_OS_FUCHSIA) | 15 #elif defined(TARGET_OS_FUCHSIA) |
16 #include "vm/os_thread_fuchsia.h" | 16 #include "vm/os_thread_fuchsia.h" |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 friend class MonitorLocker; | 353 friend class MonitorLocker; |
354 friend class SafepointMonitorLocker; | 354 friend class SafepointMonitorLocker; |
355 friend void Dart_TestMonitor(); | 355 friend void Dart_TestMonitor(); |
356 DISALLOW_COPY_AND_ASSIGN(Monitor); | 356 DISALLOW_COPY_AND_ASSIGN(Monitor); |
357 }; | 357 }; |
358 | 358 |
359 | 359 |
360 } // namespace dart | 360 } // namespace dart |
361 | 361 |
362 | 362 |
363 #endif // VM_OS_THREAD_H_ | 363 #endif // RUNTIME_VM_OS_THREAD_H_ |
OLD | NEW |