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