Skip to main content

Module core_impl

Module core_impl 

Source

Functionsยง

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.