nx_pteam_gate.nx
buildroot/runtime/nx_pteam_gate.nx
about
nx_pteam_gate.nx -- correctness + stress gate for the persistent barrier
team. Parallel band-sum of an array vs the serial sum, repeated 1000x to
shake out races / lost-wakeups / hangs. Also a self-test-shaped exit.
expect_exit: 0 (77 = wrong sum, hang = the run's 2e9 guard returns -1 -> 78)
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_tier.nxnx_pteam.nxnx_fmt.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| 10 | struct PtCtx { arr: i64, n: i64, res: i64, cpb: i64 } |
consts
| none |
functions
| 12 | func pg_sum_band(band: i64, ctx: i64) -> i64 |
| 29 | func main() -> i64 |