mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 04:50:29 +00:00
Merge pull request #6231 from lucypero/fix/atomic-typo
Fix typo in atomic.odin documentation
This commit is contained in:
@@ -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
|
||||
atomic_compare_exchange_weak_explicit :: intrinsics.atomic_compare_exchange_weak_explicit
|
||||
|
||||
Reference in New Issue
Block a user