aboutsummaryrefslogtreecommitdiff
path: root/core/sync
diff options
context:
space:
mode:
Diffstat (limited to 'core/sync')
-rw-r--r--core/sync/atomic.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/sync/atomic.odin b/core/sync/atomic.odin
index dbcb5283f..5996d981f 100644
--- a/core/sync/atomic.odin
+++ b/core/sync/atomic.odin
@@ -75,7 +75,7 @@ atomic_compare_exchange :: #force_inline proc(dst: ^$T, old, new: T, $success, $
when success == .Sequentially_Consistent { return intrinsics.atomic_cxchg(dst, old, new); }
else { #panic("an unknown ordering combination"); }
} else when failure == .Acquire_Release {
- #panic("there is not such thing as an acquire/release failure ordering");
+ #panic("there is not such thing as an acquire/release failure ordering")
} else when failure == .Release {
when success == .Acquire { return instrinsics.atomic_cxchg_failacq(dst, old, new); }
else { #panic("an unknown ordering combination"); }
@@ -101,7 +101,7 @@ atomic_compare_exchange_weak :: #force_inline proc(dst: ^$T, old, new: T, $succe
when success == .Sequentially_Consistent { return intrinsics.atomic_cxchgweak(dst, old, new); }
else { #panic("an unknown ordering combination"); }
} else when failure == .Acquire_Release {
- #panic("there is not such thing as an acquire/release failure ordering");
+ #panic("there is not such thing as an acquire/release failure ordering")
} else when failure == .Release {
when success == .Acquire { return intrinsics.atomic_cxchgweak_failacq(dst, old, new); }
else { #panic("an unknown ordering combination"); }