Expand description
Tasks are the unit of code execution.
Re-exportsยง
pub use self::scheduler::info::AtomicCpuId;
pub use self::scheduler::info::TaskScheduleInfo;
Modulesยง
- atomic_
mode - Atomic Mode
- kernel_
stack ๐ - preempt ๐
- processor ๐
- scheduler
- Scheduling subsystem (in-OSTD part).
- utils ๐
Structsยง
- Current
Task - The current task.
- Disabled
Preempt Guard - A guard for disable preempt.
- Task
- A task that executes a function to the end.
- Task
Options - Options to create or spawn a new task.
Staticsยง
Traitsยง
- Task
Context Api - Trait for manipulating the task context.
Functionsยง
- disable_
preempt - Disables preemption.
- halt_
cpu - Halts the CPU until interrupts if no preemption is required.
- inject_
post_ schedule_ handler - Injects a handler to be executed after scheduling.