1. NAME▲
task_set_jobctl_pending - set jobctl pending bits
2. SYNOPSIS ▲
bool task_set_jobctl_pending(struct task_struct * task , unsigned int mask );
3. ARGUMENTS ▲
task
target task
mask
pending bits to set
4. DESCRIPTION ▲
Clear mask from task->jobctl. mask must be subset of JOBCTL_PENDING_MASK | JOBCTL_STOP_CONSUME | JOBCTL_STOP_SIGMASK | JOBCTL_TRAPPING. If stop signo is being set, the existing signo is cleared. If task is already being killed or exiting, this function becomes noop.
5. CONTEXT ▲
Must be called with task->sighand->siglock held.
6. RETURNS ▲
true if mask is set, false if made noop because task was dying.
7. COPYRIGHT ▲