FUNCTION::TASK_STATE
Section: Context Functions (3stap)
Updated: October 2025
Index
Return to Main Contents
NAME
function::task_state - The state of the task
SYNOPSIS
task_state:long(task:long)
ARGUMENTS
task
-
task_struct pointer
DESCRIPTION
Return the state of the given task, one of: TASK_RUNNING (0), TASK_INTERRUPTIBLE (1), TASK_UNINTERRUPTIBLE (2), TASK_STOPPED (4), TASK_TRACED (8), EXIT_ZOMBIE (16), or EXIT_DEAD (32).
SEE ALSO
tapset::task(3stap)
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 21:32:38 GMT, May 01, 2026