Skip to main content

Module task

Module task 

Source
Expand description

Tasks (threads and processes).

C header: include/linux/sched.h.

Structs§

Task
Wraps the kernel’s struct task_struct.

Constants§

MAX_SCHEDULE_TIMEOUT
A sentinel value used for infinite timeouts.
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.