Commit e582d085 authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Fix InterlockedCompareExchange64Acquire -> InterlockedCompareExchangeAcquire64 and variants

parent 7f508ec2
Pipeline #4362 passed with stages
in 8 minutes and 20 seconds
......@@ -205,13 +205,13 @@ atomic_compare_exchange_strong_explicit64(atomic_int_fast64_t *obj,
REQUIRE(succ == fail);
switch (succ) {
case memory_order_relaxed:
__v = InterlockedCompareExchange64NoFence((atomic_int_fast64_t *)obj, desired, *expected);
__v = InterlockedCompareExchangeNoFence64((atomic_int_fast64_t *)obj, desired, *expected);
case memory_order_acquire:
__v = InterlockedCompareExchange64Acquire((atomic_int_fast64_t *)obj, desired, *expected);
__v = InterlockedCompareExchangeAcquire64((atomic_int_fast64_t *)obj, desired, *expected);
case memory_order_release:
__v = InterlockedCompareExchange64Release((atomic_int_fast64_t *)obj, desired, *expected);
__v = InterlockedCompareExchangeRelease64((atomic_int_fast64_t *)obj, desired, *expected);
__v = InterlockedCompareExchange64((atomic_int_fast64_t *)obj, desired, *expected);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment