Skip to main content

is_preempt_enabled

Function is_preempt_enabled 

Source
pub fn is_preempt_enabled() -> bool
Expand description

現在のコアでプリエンプションが許可されている(preempt_count == 0)かを判定します。