Expand description
Tasks are the unit of code execution.
Structs§
- A guard for disable preempt.
- A simple FIFO (First-In-First-Out) task scheduler.
- The priority of a task.
- A task that executes a function to the end.
- Options to create or spawn a new task.
Enums§
- The status of a task.
Traits§
- A scheduler for tasks.
- Trait for manipulating the task context.
Functions§
- Adds a task to the global scheduler.
- Retrieves the current task running on the processor.
- Disables preemption.
- Preempts the
task
. - Calls this function to switch to other task by using GLOBAL_SCHEDULER
- Sets the global task scheduler.