code wiki / (root) / nx_pid_diag.nx

nx_pid_diag.nx

buildroot/runtime/nx_pid_diag.nx

1120 B26 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_pid_diag.nx -- diagnose getpid + ml_pid_alive (the queue/tend/model-lane self-pid primitive). license_tier: ORIGINAL expect_exit: 0

dependencies 1 imports · 0 importers

nx_model_lane_core.nx nx_pid_diag.nx

imports: nx_model_lane_core.nx

imported by: nobody (leaf or entry point)

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

main std_puts std_slen sys_write std_pdec 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 ↻ std_itoa sys_mmap ↻ sys_write ↻ pd_gp ml_pid_alive sys_mmap ↻ std_itoa ↻ sys_openat_rd sys_close std_putln std_puts ↻

structs

none

consts

4const K_MAGIC_2000: i64 = 2000

functions

6func pd_gp(nr: i64) -> i64 { return __syscall(nr, 0, 0, 0, 0, 0, 0) }
called by 1: main
8func main(argc: i64, argv: *i64) -> i64