ros666::task::switch

Function __switch

Source
pub unsafe extern "C" fn __switch(
    current: *mut TaskCtx,
    next: *const TaskCtx,
)
Expand description

切换任务

§参数

  • current: 当前任务的上下文
  • next: 下一个任务的上下文