code wiki / _hdl_build / nx_drill_hang.nx
nx_drill_hang.nx
buildroot/runtime/_hdl_build/nx_drill_hang.nx
about
nx_drill_hang.nx -- deterministic HANG FIXTURE for the crash-drill gate (nx_revive_gate).
Exists ONLY so the drill can prove nx_boot_revive's watchdog reaps a hung organ run.
Unarmed (no /tmp/nx_drill_hang_arm file): exits 0 immediately, so the normal
build-and-run lane (nx_sov_build_run) completes instantly. Armed: sleeps in a BOUNDED
loop (never a permanent zombie even if leaked) until the watchdog SIGKILLs it.
license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 9 | const DH_BOUND_SEC: i64 = 600 // upper bound on the armed hang; drill kills at its B budget long before |
functions
| 11 | func main() -> i64 |