Re-exportsΒ§
pub use context::TaskContext;pub use id::IDLE_PID;pub use id::KernelStack;pub use id::PidHandle;pub use id::kstack_alloc;pub use id::pid_alloc;pub use manager::add_task;pub use manager::pid2process;pub use manager::remove_from_pid2process;pub use manager::remove_task;pub use manager::wakeup_task;pub use processor::current_kstack_top;pub use processor::current_process;pub use processor::current_task;pub use processor::current_trap_cx;pub use processor::current_trap_cx_user_va;pub use processor::current_user_token;pub use processor::run_tasks;pub use processor::schedule;pub use processor::take_current_task;pub use signal::SignalFlags;pub use task::TaskControlBlock;pub use task::TaskStatus;
ModulesΒ§
StructsΒ§
FunctionsΒ§
- add_
initproc - block_
current_ and_ run_ next - check_
signals_ of_ current - current_
add_ signal - exit_
current_ and_ run_ next - Exit the current βRunningβ task and run the next task in task list.
- remove_
inactive_ task - suspend_
current_ and_ run_ next