---
name: "task_clear_jobctl_pending"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/task_clear_jobctl_pending"
---

# task\_clear\_jobctl\_pending(9)

clear jobctl pending bits

## NAME

task\_clear\_jobctl\_pending - clear jobctl pending bits

## SYNOPSIS

**void task\_clear\_jobctl\_pending(struct task\_struct \*** *task***, unsigned int** *mask***);**

## ARGUMENTS

*task*

target task

*mask*

pending bits to clear

## DESCRIPTION

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.

## COPYRIGHT
