Simplify Atomic_Cond implementation

This commit is contained in:
gingerBill
2022-04-26 13:04:50 +01:00
parent c81fd2e5dd
commit ec8221cb5d
2 changed files with 19 additions and 94 deletions
+2 -2
View File
@@ -6,8 +6,8 @@ cpu_relax :: intrinsics.cpu_relax
/*
Atomic_Memory_Order :: enum {
Relaxed = 0,
Consume = 1,
Relaxed = 0, // Unordered
Consume = 1, // Monotonic
Acquire = 2,
Release = 3,
Acq_Rel = 4,