took a break and started to figure out worker codenames for fun

This commit is contained in:
2025-07-07 23:32:35 -04:00
parent 6d780482c7
commit a617ecc61f
18 changed files with 206 additions and 21 deletions

View File

@ -10,7 +10,7 @@ Currently the prototype has hot-reload always enabled, eventually there will be
*/
package sectr_host
//region Grime & Dependencies
//region pkg_mappings
import "base:runtime"
Byte :: runtime.Byte
Kilobyte :: runtime.Kilobyte
@ -88,7 +88,7 @@ file_status :: proc {
to_str :: proc {
builder_to_string,
}
//endregion Grime & Dependencies
//endregion pkg_mappings
Path_Snapshot :: "VMemChunk_1.snapshot"
Path_Logs :: "../logs"
@ -111,6 +111,9 @@ RuntimeState :: struct {
job_system: JobSystemContext,
}
@thread_local
worker_thread: sectr.ThreadWorkerContext
ClientMemory :: struct {
persistent : VArena,
frame : VArena,

5
code/host/readme.md Normal file
View File

@ -0,0 +1,5 @@
# Host: OS Sandbox Manager
The host is the final downstream module and is responsible for handling the launch of application, its persistent memory tracking, and the multi-threaded job system including its worker threads.
For debug builds the host supports hot-reloading the client module (Sectr).
Maxmimum orchestration is designated to the client module, which only defers launch and the initial job setup to the Host.