⚠️ VeridianOS Kernel Documentation
- This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise.
no_std
should_preempt
veridian_
kernel
0.25.2
In veridian_
kernel::
sched::
scheduler
veridian_kernel
::
sched
::
scheduler
Function
should_
preempt
Copy item path
Source
pub fn should_preempt(current: &
Task
, next: &
Task
) -> bool
Expand description
Check if should preempt current task