Skip to main content

DEFAULT_THREAD_CAPACITY

Constant DEFAULT_THREAD_CAPACITY 

Source
pub const DEFAULT_THREAD_CAPACITY: usize = 4096;
Expand description

Default maximum number of scheduler threads.

Every CPU reserves class linkage, task-deadline, and Deadline membership storage for this many generation-bearing tasks. Like Linux embedding these nodes in task_struct, scheduler hot paths therefore never discover a capacity failure after a thread has been published.