nx_lane_conf.nx
buildroot/runtime/nx_lane_conf.nx
about
nx_lane_conf.nx -- shared hot-read key/value conf getter (rule 11: thresholds, limits, timeouts
and weights live in CONFIG, never in code; rule 15: three organs were about to hand-roll this).
Format: `key<TAB or SPACE>value` rows, `#` comments. Re-read on EVERY call (files are ~1KB; the
gen_steps.conf precedent) so an edit takes effect with no rebuild and no restart.
Resolution: CWD-relative first, then the estate-absolute fallback -- the same dual-path the
gen orchestrator proved, because daemons run from three different roots (the CWD-artifact class).
license_tier: ORIGINAL module: nishi-core.lib.laneconf
dependencies 1 imports · 4 importers
imports: nx_syscalls.nx
imported by: nx_charmem.nxnx_write.nxnx_writejob_sweep.nxnx_writer_serve.nx
structs
| none |
consts
| 10 | const LC_BUF: i64 = 65536 |
functions
| 12 | func lc_slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } called by 1: lc_geti |
| 15 | func lc_read(path: *u8, buf: *u8) -> i64 |
| 32 | func lc_geti(relpath: *u8, abspath: *u8, key: *u8, dflt: i64) -> i64 |
| 84 | func lc_write_lane(key: *u8, dflt: i64) -> i64 |