Expand description
Task Management
Defines the Task structure and related types for the Strat9-OS scheduler.
Structs§
- CpuContext
- CPU context saved/restored during context switches.
- Extended
State - FPU/SSE/AVX extended state, saved and restored on context switch.
- Kernel
Stack - Kernel stack for a task
- Sync
Unsafe Cell - A wrapper around UnsafeCell that implements Sync for TaskState
- Task
- Represents a single task/thread in the system
- TaskId
- Unique identifier for a task
- User
Stack - User stack for a task (when running in userspace)
Enums§
- Task
Priority - Priority levels for tasks
- Task
State - State of a task in the scheduler