Structs
- A wrapper around
Process
that has extra details the scheduler cares about
Enums
Constants
Statics
- SHUTDOWN 🔒
Functions
- Exit the current process, and move the
all_state
to the scheduler. The caller of this function (i.e. interrupt) will use theall_state
to go back to the scheduler. This function will remove the context from the CPU, and thus the value inall_state
will be dropped. - What this function does is that it tells the scheduler to stop scheduling any more processes. And start the shutdown process.
- Safety