[−][src]Struct r3::kernel::cfg::CfgBuilder
A kernel configuration being constructed.
Implementations
impl<System> CfgBuilder<System>
[src]
pub const fn num_task_priority_levels(&mut self, new_value: usize)
[src]
Specify the number of task priority levels. The default value is 4
.
Must be in range 1..4096
. The actual upper bound might be larger
depending on the internal implementation.
The RAM consumption by task ready queues is proportional to the number
of task priority levels. In addition, the scheduler is heavily optimized
for the cases where the number is very small (e.g., < 16
). The
performance improvement can be notable especially if the target
processor does not have a CTZ (count trailing zero) instruction,
barrel shifter, or hardware multiplier.
Auto Trait Implementations
impl<System> Send for CfgBuilder<System> where
System: Send,
System: Send,
impl<System> Sync for CfgBuilder<System> where
System: Sync,
System: Sync,
impl<System> Unpin for CfgBuilder<System> where
System: Unpin,
System: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,