Skip to main content

task_entry_trampoline

Function task_entry_trampoline 

Source
pub unsafe extern "C" fn task_entry_trampoline() -> !
Expand description

Trampoline for newly created tasks.

When a new task is first scheduled, switch_context() pops the fake callee-saved registers and rets here, then tail-jumps into the actual post-switch entry helper.