Skip to main content

EXECUTOR_BACKING_DEFAULT_U64S

Constant EXECUTOR_BACKING_DEFAULT_U64S 

Source
pub const EXECUTOR_BACKING_DEFAULT_U64S: usize = _; // 11_084usize
Expand description

The spawned sched tasks’ executor backing. nros::main! emits one SchedTaskExecutorBacking static per sched-task entry and hands its slots to the board’s run_sched_tasks, which refuses a short block through check_sched_task_executor_backing and opens each spawned sched task with Executor::open_with_session_slot. Gated like the module it names (has_rmw + alloc in nros-node). The reservation’s size when nothing overrides it: one default-sized executor’s worth.

One executor, not a multiple, because an entry opens ONE through this road: a sched-task boot’s SPAWNED sched tasks take their slots from the entry’s own SchedTaskExecutorBacking instead, each slot this many words.

Named by the GENERATED file when nothing overrides the size, so it is unused under NROS_EXECUTOR_BACKING_BYTES=0 (no static) and under an explicit override (a literal). Kept rather than cfg’d: it is what the override is judged against, and a constant that disappears with its consumer cannot be compared to anything.