nx_job_poll.nx
buildroot/runtime/nx_job_poll.nx
about
nx_job_poll.nx -- R5 job-state tracking: poll Get-Job-Attributes for a job-id until it reaches a
terminal state. Confirms our print actually COMPLETED (vs silently stalling) -- the "said done but
nothing came out" killer. READ-ONLY -> never-brick. license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_ipp_codec.nxnx_ipp_transport.nxnx_ipp_submit.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 K_MAGIC_2048: i64 = 2048 |
| 10 | const K_MAGIC_131072: i64 = 131072 |
| 11 | const K_MAGIC_1500: i64 = 1500 |
| 13 | const JOBID: i64 = 49 // the job we just submitted |
functions
| 15 | func p(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 16 | func pn(v: i64) -> i64 |
| 25 | func phex16(v: i64) -> i64 |
| 30 | func jslabel(s: i64) -> *u8 called by 1: main |
| 41 | func main() -> i64 |