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

Side by Side Diff: runtime/vm/atomic.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/platform/utils_openbsd.h ('k') | runtime/vm/atomic_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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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_ATOMIC_H_ 5 #ifndef VM_ATOMIC_H_
6 #define VM_ATOMIC_H_ 6 #define VM_ATOMIC_H_
7 7
8 #include "platform/globals.h" 8 #include "platform/globals.h"
9 9
10 #include "vm/allocation.h" 10 #include "vm/allocation.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // We need to use the simulator to ensure that atomic operations are observed 47 // We need to use the simulator to ensure that atomic operations are observed
48 // both in C++ and in generated code if the simulator is active. 48 // both in C++ and in generated code if the simulator is active.
49 #include "vm/atomic_simulator.h" 49 #include "vm/atomic_simulator.h"
50 50
51 #if defined(TARGET_OS_ANDROID) 51 #if defined(TARGET_OS_ANDROID)
52 #include "vm/atomic_android.h" 52 #include "vm/atomic_android.h"
53 #elif defined(TARGET_OS_LINUX) 53 #elif defined(TARGET_OS_LINUX)
54 #include "vm/atomic_linux.h" 54 #include "vm/atomic_linux.h"
55 #elif defined(TARGET_OS_MACOS) 55 #elif defined(TARGET_OS_MACOS)
56 #include "vm/atomic_macos.h" 56 #include "vm/atomic_macos.h"
57 #elif defined(TARGET_OS_OPENBSD)
58 #include "vm/atomic_openbsd.h"
57 #elif defined(TARGET_OS_WINDOWS) 59 #elif defined(TARGET_OS_WINDOWS)
58 #include "vm/atomic_win.h" 60 #include "vm/atomic_win.h"
59 #else 61 #else
60 #error Unknown target os. 62 #error Unknown target os.
61 #endif 63 #endif
62 64
63 #endif // VM_ATOMIC_H_ 65 #endif // VM_ATOMIC_H_
OLDNEW
« no previous file with comments | « runtime/platform/utils_openbsd.h ('k') | runtime/vm/atomic_openbsd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698