Name

is_idle_task — is the specified task an idle task?

Synopsis

bool is_idle_task (const struct task_struct * p);
 

Arguments

p

the task in question.

Return

1 if p is an idle task. 0 otherwise.