Module task

Source
Expand description

Task module.

The task module defines the structure and behavior of tasks in the system.

Modules§

elf_loader
ELF Loading Module
syscall
Task-related system call implementations.

Structs§

ManagedPage
Task

Enums§

TaskState
TaskType
WaitError

Constants§

NUM_OF_FDS 🔒
The maximum number of file descriptors a task can have. This value is set to 256 as a reasonable default for most use cases, balancing resource usage and typical application needs. Adjust if necessary.

Statics§

TASK_ID 🔒

Functions§

mytask
Get the current task.
new_kernel_task
Create a new kernel task.
new_user_task
Create a new user task.