fix ch5
This commit is contained in:
parent
8a9228d1fe
commit
e48a85dd4b
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ pub fn block_current_and_run_next() {
|
||||||
}
|
}
|
||||||
use crate::board::QEMUExit;
|
use crate::board::QEMUExit;
|
||||||
|
|
||||||
|
/// Exit the current 'Running' task and run the next task in task list.
|
||||||
pub fn exit_current_and_run_next(exit_code: i32) {
|
pub fn exit_current_and_run_next(exit_code: i32) {
|
||||||
let task = take_current_task().unwrap();
|
let task = take_current_task().unwrap();
|
||||||
let mut task_inner = task.inner_exclusive_access();
|
let mut task_inner = task.inner_exclusive_access();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue