WIP: fleshing out cod2 for once a bit more

Planning to try out a flavor of Ryan's multi-threaded laned procs with the some extra threads hooked up separately to a job system.
Will most likely do 2 threads main/helper on live lanes, then 2 others on job queue loops
This commit is contained in:
2025-10-11 19:17:29 -04:00
parent 7219b780fc
commit 05e979907a
20 changed files with 387 additions and 37 deletions

24
code2/host/launch.odin Normal file
View File

@@ -0,0 +1,24 @@
package host
Path_Logs :: "../logs"
when ODIN_OS == .Windows
{
Path_Sectr_Module :: "sectr.dll"
Path_Sectr_Live_Module :: "sectr_live.dll"
Path_Sectr_Debug_Symbols :: "sectr.pdb"
}
// Only static memory host has.
host_memory: HostMemory
main :: proc()
{
host_memory.host_api.sync_client_module = sync_client_api
host_memory.client_api.startup(& host_memory)
}
@export
sync_client_api :: proc()
{
// Fill out detection and reloading of client api.
}