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

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

Issue 1559053002: Refs #10260 OpenBSD support #25327 Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address code review issues Created 4 years, 11 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
« no previous file with comments | « runtime/vm/os_openbsd.cc ('k') | runtime/vm/os_thread_openbsd.h » ('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 VM_OS_THREAD_H_ 5 #ifndef VM_OS_THREAD_H_
6 #define VM_OS_THREAD_H_ 6 #define 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_LINUX) 15 #elif defined(TARGET_OS_LINUX)
16 #include "vm/os_thread_linux.h" 16 #include "vm/os_thread_linux.h"
17 #elif defined(TARGET_OS_MACOS) 17 #elif defined(TARGET_OS_MACOS)
18 #include "vm/os_thread_macos.h" 18 #include "vm/os_thread_macos.h"
19 #elif defined(TARGET_OS_OPENBSD)
20 #include "vm/os_thread_openbsd.h"
19 #elif defined(TARGET_OS_WINDOWS) 21 #elif defined(TARGET_OS_WINDOWS)
20 #include "vm/os_thread_win.h" 22 #include "vm/os_thread_win.h"
21 #else 23 #else
22 #error Unknown target os. 24 #error Unknown target os.
23 #endif 25 #endif
24 26
25 namespace dart { 27 namespace dart {
26 28
27 // Forward declarations. 29 // Forward declarations.
28 class Log; 30 class Log;
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 #endif // defined(DEBUG) 329 #endif // defined(DEBUG)
328 330
329 DISALLOW_COPY_AND_ASSIGN(Monitor); 331 DISALLOW_COPY_AND_ASSIGN(Monitor);
330 }; 332 };
331 333
332 334
333 } // namespace dart 335 } // namespace dart
334 336
335 337
336 #endif // VM_OS_THREAD_H_ 338 #endif // VM_OS_THREAD_H_
OLDNEW
« no previous file with comments | « runtime/vm/os_openbsd.cc ('k') | runtime/vm/os_thread_openbsd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698