From b7afb68a8eef1164b23d492ea76bafa2deed2bf3 Mon Sep 17 00:00:00 2001 From: lucy Date: Thu, 5 Feb 2026 01:48:43 -0300 Subject: [PATCH] Fix typo in atomic.odin documentation Changed "guaranties" to "guarantees" in the memory ordering documentation. Also added missing newline at end of file. Co-Authored-By: Claude Opus 4.5 --- core/sync/atomic.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/sync/atomic.odin b/core/sync/atomic.odin index 7e514a6b4..f680c7aa3 100644 --- a/core/sync/atomic.odin +++ b/core/sync/atomic.odin @@ -27,7 +27,7 @@ multiple memory locations between two cores. Which is why CPU's allow for stronger memory ordering guarantees if certain instructions or instruction variants are used. -In Odin there are 5 different memory ordering guaranties that can be provided +In Odin there are 5 different memory ordering guarantees that can be provided to an atomic operation: - `Relaxed`: The memory access (load or store) is unordered with respect to @@ -450,4 +450,4 @@ the load operation, if the comparison fails. The memory ordering for these operations is as specified by the `success` and `failure` parameters respectively. */ -atomic_compare_exchange_weak_explicit :: intrinsics.atomic_compare_exchange_weak_explicit \ No newline at end of file +atomic_compare_exchange_weak_explicit :: intrinsics.atomic_compare_exchange_weak_explicit