pub unsafe trait KernelTaskSetPriority: KernelBase {
    // Required method
    unsafe fn raw_task_set_priority(
        this: Self::RawTaskId,
        priority: usize
    ) -> Result<(), SetTaskPriorityError>;
}
Expand description

Provides the task_set_priority method.

Safety

See the Safety section of the module documentation.

Required Methods§

source

unsafe fn raw_task_set_priority( this: Self::RawTaskId, priority: usize ) -> Result<(), SetTaskPriorityError>

Implements Task::set_priority.

Safety

See the Safety section of the module documentation.

Implementors§