code wiki / _hdl_build / nx_synth_serve_daemon.nx
nx_synth_serve_daemon.nx
buildroot/runtime/_hdl_build/nx_synth_serve_daemon.nx
about
nx_synth_serve_daemon.nx -- deployable Synth Studio daemon: argv[1]=listen_port; accept-fork loop calling
sv_serve_conn (nx_synth_serve). Runs on loopback behind the site proxy (/synth -> this port). Forks per
connection so the heavy per-request render mmaps are reclaimed by the kernel on child exit. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_synth_serve.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
| 6 | const K_MAGIC_1000000: i64 = 1000000 |
functions
| 8 | func sd_atoi(s: *u8) -> i64 { var v: i64=0; var i: i64=0; while s[i]!=(0 as u8){ let c: i64=s[i] as i64; if c<48{return v} if c>57{return v} v=v*10+(c-48); i=i+1 } return v } called by 1: main |
| 10 | func main(argc: i64, argv: *i64) -> i64 |