Expand description
Tasks (threads and processes).
C header: include/linux/sched.h.
Structs§
- CurrentTask 
- 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).