summaryrefslogtreecommitdiffstats
path: root/util/system/atomic_win.h
diff options
context:
space:
mode:
authorabolkhovityanov <[email protected]>2022-02-10 16:50:49 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:50:49 +0300
commit812751ae6997d4a9efaca424ef7b2e1d06fa3771 (patch)
tree3bdff9442b38b433a98640c47522ba7c66bed0d1 /util/system/atomic_win.h
parent90e989b502f29f2d1176402f08e85953ae199004 (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/system/atomic_win.h')
-rw-r--r--util/system/atomic_win.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/system/atomic_win.h b/util/system/atomic_win.h
index 65c290e6ccc..ea0e3939559 100644
--- a/util/system/atomic_win.h
+++ b/util/system/atomic_win.h
@@ -48,7 +48,7 @@ static inline intptr_t AtomicGetAndCas(TAtomic* a, intptr_t exchange, intptr_t c
return _InterlockedCompareExchange((volatile long*)a, exchange, compare);
}
-#else // _x86_64_
+#else // _x86_64_
#pragma intrinsic(_InterlockedIncrement64)
#pragma intrinsic(_InterlockedDecrement64)
@@ -104,7 +104,7 @@ static inline intptr_t AtomicXor(TAtomic& a, intptr_t b) {
return _InterlockedXor64(&a, b) ^ b;
}
-#endif // _x86_
+#endif // _x86_
//TODO
static inline void AtomicBarrier() {