Skip to main content

kthread_trampoline

Function kthread_trampoline 

Source
extern "C" fn kthread_trampoline(arg0: u64) -> !
Expand description

Trampoline for closure-based kernel threads.

Rebuilds the boxed closure from the raw argument, runs it, then exits the calling task so the scheduler reclaims the kernel stack.