⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module task

Module task 

Source
Expand description

Task management and task control block (TCB) implementation

Structs§

CpuSet
CPU affinity mask
Task
Task Control Block (TCB)
TaskStats
Task statistics

Enums§

Priority
Task priority levels
SchedClass
Scheduling class
SchedPolicy
Task scheduling policy
TaskContext
Architecture-specific task context

Constants§

DEFAULT_TIME_SLICE
Default time slice in timer ticks
PRIORITY_BOOST_INTERVAL
Interval for priority boosting (in ticks)

Functions§

alloc_tid
Allocate new thread ID