task_clear_jobctl_pending(9)

task_clear_jobctl_pending9

Clear jobctl pending bits

Usage

void task_clear_jobctl_pending(struct task_struct * task, unsigned int mask);

Arguments

task

target task

mask

pending bits to clear

Overview

Clear mask from task->jobctl. mask must be subset of JOBCTL_PENDING_MASK. If JOBCTL_STOP_PENDING is being cleared, other STOP bits are cleared together.

If clearing of mask leaves no stop or trap pending, this function calls task_clear_jobctl_trapping.

Context

Must be called with task->sighand->siglock held.

Releases

2 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7
  2. 8

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.