add_task->wakeup_task

This commit is contained in:
Yifan Wu 2023-01-20 01:59:37 +08:00
parent 4ccf22f581
commit c12e3b733d
6 changed files with 17 additions and 10 deletions

View file

@ -18,7 +18,7 @@ use switch::__switch;
pub use context::TaskContext;
pub use id::{kstack_alloc, pid_alloc, KernelStack, PidHandle, IDLE_PID};
pub use manager::{add_task, pid2process, remove_from_pid2process};
pub use manager::{add_task, wakeup_task, pid2process, remove_from_pid2process};
pub use processor::{
current_kstack_top, current_process, current_task, current_trap_cx, current_trap_cx_user_va,
current_user_token, run_tasks, schedule, take_current_task,