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
25 lines
468 B
Odin
25 lines
468 B
Odin
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.
|
|
}
|