Module task

Source
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
scheduler
Task scheduling.

Structs§

CurrentTask
The current task.
DisabledPreemptGuard
A guard for disable preempt.
Task
A task that executes a function to the end.
TaskOptions
Options to create or spawn a new task.

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.
inject_pre_schedule_handler
Injects a handler to be executed before scheduling.