OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file is an internal atomic implementation, use base/atomicops.h instead. | 5 // This file is an internal atomic implementation, use base/atomicops.h instead. |
6 | 6 |
7 #ifndef BASE_ATOMICOPS_INTERNALS_X86_MACOSX_H_ | 7 #ifndef BASE_ATOMICOPS_INTERNALS_X86_MACOSX_H_ |
8 #define BASE_ATOMICOPS_INTERNALS_X86_MACOSX_H_ | 8 #define BASE_ATOMICOPS_INTERNALS_X86_MACOSX_H_ |
9 | 9 |
10 #include <libkern/OSAtomic.h> | 10 #include <libkern/OSAtomic.h> |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 return base::subtle::Release_Load( | 270 return base::subtle::Release_Load( |
271 reinterpret_cast<volatile const AtomicWordCastType*>(ptr)); | 271 reinterpret_cast<volatile const AtomicWordCastType*>(ptr)); |
272 } | 272 } |
273 | 273 |
274 #undef AtomicWordCastType | 274 #undef AtomicWordCastType |
275 | 275 |
276 } // namespace base::subtle | 276 } // namespace base::subtle |
277 } // namespace base | 277 } // namespace base |
278 | 278 |
279 #endif // BASE_ATOMICOPS_INTERNALS_X86_MACOSX_H_ | 279 #endif // BASE_ATOMICOPS_INTERNALS_X86_MACOSX_H_ |
280 | |
OLD | NEW |