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.