---
name: "task_participate_group_stop"
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_participate_group_stop"
---

# task\_participate\_group\_stop(9)

participate in a group stop

## NAME

task\_participate\_group\_stop - participate in a group stop

## SYNOPSIS

**bool task\_participate\_group\_stop(struct task\_struct \*** *task***);**

## ARGUMENTS

*task*

task participating in a group stop

## DESCRIPTION

*task* has **JOBCTL\_STOP\_PENDING** set and is participating in a group stop. Group stop states are cleared and the group stop count is consumed if **JOBCTL\_STOP\_CONSUME** was set. If the consumption completes the group stop, the appropriate **SIGNAL\_**\* flags are set.

## CONTEXT

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

## RETURNS

**true** if group stop completion should be notified to the parent, **false** otherwise.

## COPYRIGHT
