code wiki / (root) / nx_proc_gate.nx

nx_proc_gate.nx

buildroot/runtime/nx_proc_gate.nx

1769 B35 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic proc
docsdependenciesstructsconstsfunctions

about

nx_proc_gate.nx -- gates the process primitive: fork spawns a child, wait4 reaps it, the exit code propagates. Turns the fork/exec/wait axis from LIVE-proven to GATE-proven. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_gate.nx nx_gate_verdict.nx nx_proc_gate.nx

imports: nx_syscalls.nxnx_gate.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main gw sys_write sys_fork sys_exit gn sys_write ↻ sys_mmap sys_mmap ↻ sys_wait4 gv_ctr sys_mmap ↻ gv_verdict gv_puts sys_write ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_journal sys_openat_append sys_mmap ↻ gv_catn sys_mmap ↻ sys_munmap ↻ sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real gv_cat sys_write ↻ sys_close sys_munmap ↻

structs

none

consts

none

functions

7func main() -> i64