Naming convention change for atomics

cache_coherent_ is what I'm going with for now based off of studying it further.

I really really don't like the "atomic" as the verbiage phrase. It conveys nothing about what the execution engine is actually doing with the thread caches or the bus snoop.
This commit is contained in:
ed committed 2025-10-13 02:49:07 -04:00
1 parent 5f57cea027
commit 4abd2401f0
4 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ hot_reload :: proc(host_mem: ^ProcessMemory, thread_mem: ^ThreadMemory)
{
thread_ctx = thread_mem
if thread_ctx.id == .Master_Prepper {
thread_coherent_store(& memory, host_mem)
cache_coherent_store(& memory, host_mem, .Release)
}
}
+1 -1
View File
@@ -8,7 +8,7 @@ import "core:os"
import "core:sync"
AtomicMutex :: sync.Atomic_Mutex
thread_coherent_store :: sync.atomic_store
cache_coherent_store :: sync.atomic_store_explicit
import "core:thread"
SysThread :: thread.Thread