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

Side by Side Diff: base/atomicops_internals_mac.h

Issue 1001833005: Update from https://crrev.com/320343 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Supress Created 5 years, 9 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 | « base/atomicops_internals_gcc.h ('k') | base/atomicops_internals_mips_gcc.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 Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_MAC_H_ 7 #ifndef BASE_ATOMICOPS_INTERNALS_MAC_H_
8 #define BASE_ATOMICOPS_INTERNALS_MAC_H_ 8 #define BASE_ATOMICOPS_INTERNALS_MAC_H_
9 9
10 #include <libkern/OSAtomic.h> 10 #include <libkern/OSAtomic.h>
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 return value; 184 return value;
185 } 185 }
186 186
187 inline Atomic64 Release_Load(volatile const Atomic64* ptr) { 187 inline Atomic64 Release_Load(volatile const Atomic64* ptr) {
188 MemoryBarrier(); 188 MemoryBarrier();
189 return *ptr; 189 return *ptr;
190 } 190 }
191 191
192 #endif // defined(__LP64__) 192 #endif // defined(__LP64__)
193 193
194 } // namespace base::subtle 194 } // namespace subtle
195 } // namespace base 195 } // namespace base
196 196
197 #endif // BASE_ATOMICOPS_INTERNALS_MAC_H_ 197 #endif // BASE_ATOMICOPS_INTERNALS_MAC_H_
OLDNEW
« no previous file with comments | « base/atomicops_internals_gcc.h ('k') | base/atomicops_internals_mips_gcc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698