summaryrefslogtreecommitdiffstats
path: root/base/atomicops_internals_x86_msvc.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/atomicops_internals_x86_msvc.h')
-rw-r--r--base/atomicops_internals_x86_msvc.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/base/atomicops_internals_x86_msvc.h b/base/atomicops_internals_x86_msvc.h
index 3d41e62..eacbb5e 100644
--- a/base/atomicops_internals_x86_msvc.h
+++ b/base/atomicops_internals_x86_msvc.h
@@ -159,6 +159,19 @@ inline Atomic64 Release_Load(volatile const Atomic64* ptr) {
return *ptr;
}
+inline Atomic64 Acquire_CompareAndSwap(volatile Atomic64* ptr,
+ Atomic64 old_value,
+ Atomic64 new_value) {
+ return NoBarrier_CompareAndSwap(ptr, old_value, new_value);
+}
+
+inline Atomic64 Release_CompareAndSwap(volatile Atomic64* ptr,
+ Atomic64 old_value,
+ Atomic64 new_value) {
+ return NoBarrier_CompareAndSwap(ptr, old_value, new_value);
+}
+
+
#endif // defined(_WIN64)
} // namespace base::subtle