Function scheduler::inherit_priority
pub fn inherit_priority(task: &TaskRef) -> PriorityInheritanceGuard<'_>
Expand description
Re-exports for convenience and legacy compatibility. Modifies the given task’s priority to be the maximum of its priority and the current task’s priority.
Returns a guard which reverts the change when dropped.