other versions
- wheezy 3.2.78-1
TASK_SET_JOBCTL_PEND(9) | Driver Basics | TASK_SET_JOBCTL_PEND(9) |
NAME¶
task_set_jobctl_pending - set jobctl pending bitsSYNOPSIS¶
bool
task_set_jobctl_pending(struct task_struct * task,
unsigned int mask);
ARGUMENTS¶
tasktarget task
mask
pending bits to set
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.CONTEXT¶
Must be called with task->sighand->siglock held.RETURNS¶
COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |