Files
SectrPrototype/code2/sectr/state.odin

15 lines
234 B
Odin

package sectr
// This should be the only global on client module side.
memory: ^HostMemory
@(thread_local)
thread_memory: ^ThreadMemory
THREAD_TICK_LANES :: 2
State :: struct {
live_threads: int,
job_system: JobSystemContext,
}