Function taskctx::disable_preempt
source · pub fn disable_preempt()
Expand description
Disables kernel preemption.
It will increase the preemption disable counter of the current task.
pub fn disable_preempt()
Disables kernel preemption.
It will increase the preemption disable counter of the current task.