Module task

Source
Expand description

Tasks (threads and processes).

C header: include/linux/sched.h.

Structs§

CurrentTask
Represents the Task in the current global.
Kuid
The type of user identifiers (UIDs).
Task
Wraps the kernel’s struct task_struct.

Constants§

MAX_SCHEDULE_TIMEOUT
A sentinel value used for infinite timeouts.
TASK_FREEZABLE
Bitmask for tasks that are sleeping in a freezable state.
TASK_INTERRUPTIBLE
Bitmask for tasks that are sleeping in an interruptible state.
TASK_NORMAL
Convenience constant for waking up tasks regardless of whether they are in interruptible or uninterruptible sleep.
TASK_UNINTERRUPTIBLE
Bitmask for tasks that are sleeping in an uninterruptible state.

Type Aliases§

Pid
The type of process identifiers (PIDs).