code wiki / (root) / nx_ts_slot_router.nx

nx_ts_slot_router.nx

buildroot/runtime/nx_ts_slot_router.nx

3251 B74 linesdepth 6pulls 9 transitivereach 0 importersview sourcekind tooltopic ts
docsdependenciesstructsconstsfunctions

about

nx_ts_slot_router.nx -- TS3: THE FRONT DOOR ITSELF (the thin daemon around nx_ts_slot_lib). Split from the decision core deliberately: the core is a LIBRARY so a gate can drive ts_slot_flip directly and in-process, while this file is the runnable front door. One capability, one home -- a gate that had to fork a binary just to exercise a pure decision would be testing the plumbing. See nx_ts_slot_lib.nx for the full rung rationale, the standalone-by-design fence, and the scope of the warm-up probe. license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 1 imports · 0 importers

nx_ts_slot_lib.nx nx_ts_slot_router.nx

imports: nx_ts_slot_lib.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main tsr_puts sys_write tsr_atoi ts_drain_on_term sys_mmap nxa_die sys_write ↻ sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ tsr_sa ts_handoff_nodrop ts_handoff_acquire sys_unix_connect_fd sys_socket sys_mmap ↻ sys_close sys_connect sys_recv_fd sys_mmap ↻ scm_zero scm_put_i64 sys_recvmsg scm_get_i64 scm_get_u32 sys_munmap sys_close ↻ nx_http_server_listen sys_ignore_sigpipe sys_mmap ↻

structs

none

consts

12const TSR_RC_USAGE: i64 = 2

functions

13func main(argc: i64, argv: **u8) -> i64