code wiki / _hdl_build / nx_workstream_popqueue_run.nx

nx_workstream_popqueue_run.nx

buildroot/runtime/_hdl_build/nx_workstream_popqueue_run.nx

1396 B25 linesdepth 5pulls 6 transitivereach 0 importersview sourcekind orphan librarytopic workstream
docsdependenciesstructsconstsfunctions

about

nx_workstream_popqueue_run.nx -- thin RUNNABLE driver for WMS rung REG-POP. Populates the live ws- registry from assignment_queue.tsv via the nx_workstream_popqueue LIB, then emits the locked-atomic evidence line. Idempotent (re-run registers 0 new). The REFEREE is nx_workstream_popqueue_gate (before/after audit drop + neg-control + idempotency). license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_workstream_popqueue.nx nx_syscalls.nx nx_workstream_popqueue_run.nx

imports: nx_workstream_popqueue.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

8func _pw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
9func _pn(v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m;sys_write(1,"-" as *u8,1)}; let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48 as u8;k=1}; while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1}; var i: i64=0; while i<k{bb[i]=t[k-1-i];i=i+1}; sys_write(1,bb,k); return 0 }
11func main() -> i64