Skip to main content

MAX_WAKE_SOURCES

Constant MAX_WAKE_SOURCES 

Source
pub const MAX_WAKE_SOURCES: usize = 8; // 8usize
Expand description

phase-436 B2 — the other half of the seam, for the boards that now use it.

port_park above is what a port hands the executor to WAIT with; these are what it hands the executor to be told WHEN. A board registering a deadline source receives a WakeSourceId and reads it back out of Executor::last_park(), so without this re-export it could match on neither. How many platform sources one executor can carry. A plain const, not a sizing knob: the table is inline, so no allocator is required on the no_std targets this seam mainly exists for.