nx_request_pool_candidate_t230.nx
buildroot/runtime/nx_request_pool_candidate_t230.nx
about
Single-owner IPC pool. Admission policy supplies capacity; this layer owns
response-buffer reservations, message framing and child reaping.
dependencies 1 imports · 2 importers
imports: nx_resource_arbiter.nx
imported by: nx_mcp_pending_candidate_t230.nxnx_mcp_stdio_candidate_t230.nx
structs
| 11 | struct NxRequestWorker |
| 19 | struct NxRequestPool |
consts
| 5 | const RP_CELL: i64 = 8 // current native ABI |
| 6 | const RP_FD_MASK: i64 = 4294967295 |
| 7 | const RP_POLLIN: i64 = 1 |
| 8 | const RP_EINTR: i64 = -4 |
| 9 | const RP_SIGKILL: i64 = 9 |
functions
| 38 | func rp_worker(p: *NxRequestPool, slot: i64) -> *NxRequestWorker |
| 42 | func rp_new(capacity: i64, response_bytes: i64) -> *NxRequestPool |
| 65 | func rp_fork(p: *NxRequestPool) -> i64 |
| 111 | func rp_write(fd: i64, data: *u8, n: i64) -> i64 |
| 122 | func rp_release(p: *NxRequestPool, slot: i64) -> i64 |
| 137 | func rp_pump_timeout(p: *NxRequestPool, accept_input: i64, output_fd: i64, wait_ms: i64) -> i64 |
| 189 | func rp_stop_worker(p: *NxRequestPool, slot: i64) -> i64 |
| 196 | func rp_reap_stopped(p: *NxRequestPool, slot: i64) -> i64 |
| 209 | func rp_cancel_owned(p: *NxRequestPool, slot: i64, expected_pid: i64) -> i64 |
| 224 | func rp_cancel_all(p: *NxRequestPool) -> i64 |
| 243 | func rp_pump(p:*NxRequestPool,accept_input:i64,output_fd:i64)->i64 { return rp_pump_timeout(p,accept_input,output_fd,-1) } calls 1: rp_pump_timeout |