Function axhal::arch::task_context_switch
source · pub fn task_context_switch(prev_ctx: &mut TaskContext, next_ctx: &TaskContext)
Expand description
To switch the context between two tasks
pub fn task_context_switch(prev_ctx: &mut TaskContext, next_ctx: &TaskContext)
To switch the context between two tasks