Expand description
Tasks (threads and processes).
C header: include/linux/sched.h.
Structs§
- Current
Task  - Represents the 
Taskin thecurrentglobal. - 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.
 
Functions§
- might_
sleep  - Annotation for functions that can sleep.
 
Type Aliases§
- Pid
 - The type of process identifiers (PIDs).