unsafe fn take_current_process() -> SchedulerProcess
Expand description
ยงSafety
Must ensure that this is called and handled inside pop_cli and push_cli block, as an interrupt in the middle
causes the current_process
to be unavailable later on
unsafe fn take_current_process() -> SchedulerProcess
Must ensure that this is called and handled inside pop_cli and push_cli block, as an interrupt in the middle
causes the current_process
to be unavailable later on