code wiki / _hdl_build / nx_ims_batch2_repush.nx
nx_ims_batch2_repush.nx
buildroot/runtime/_hdl_build/nx_ims_batch2_repush.nx
about
nx_ims_batch2_repush.nx -- re-land the batch-#2 leaf pages whose live push did not confirm on the
first multi-page run (the documented fork-ENOMEM after several large sys_read_file calls -> push_rc=-1
= the push subprocess could not be spawned, NOT a guard reject; the version snapshot was retained, so
this is a safe additive retry). Argv-free, fixed list, strict push_rc==0 confirmation. Same guarded+
versioned vpub path as the batch publisher. Run repeatedly if a single run still exhausts forks; each
run retains a new rollback version (additive). license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_wiki_versioned_publish.nxnx_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
| 20 | const PB_EPOCH: i64 = 1781870001 |
functions
| 10 | func p_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 11 | func p_num(v: i64) -> i64 |
| 23 | func pb_publish(slug: *u8, path: *u8, cs_ptr: *i64, cs_len: *i64, ncorpus: i64) -> i64 |
| 37 | func main() -> i64 |