Skip to main contentModule core_impl
Source - create_cpu_scheduler ๐
- Create a
SchedulerCpu for the given CPU index (creates its idle task). - drain_post_switch_local ๐
- Post-switch cleanup using only LOCAL state: re-enqueue the previous task
and optionally extract the task-to-drop for deferred deallocation.
- pick_next_task_local ๐
- Pick the next task using only per-CPU LOCAL state.
- steal_task_local ๐
- Steal a task from the busiest sibling CPU using per-CPU LOCAL locks.
- yield_cpu_local ๐
- Prepare a LOCAL-only context switch.