---
name: "do_notify_parent_cldstop"
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/do_notify_parent_cldstop"
---

# do\_notify\_parent\_cldstop(9)

notify parent of stopped/continued state change

## NAME

do\_notify\_parent\_cldstop - notify parent of stopped/continued state change

## SYNOPSIS

**void do\_notify\_parent\_cldstop(struct task\_struct \*** *tsk***, bool** *for\_ptracer***, int** *why***);**

## ARGUMENTS

*tsk*

task reporting the state change

*for\_ptracer*

the notification is for ptracer

*why*

CLD\_{CONTINUED\|STOPPED\|TRAPPED} to report

## DESCRIPTION

Notify *tsk*'s parent that the stopped/continued state has changed. If *for\_ptracer* is **false**, *tsk*'s group leader notifies to its real parent. If **true**, *tsk* reports to *tsk*-\>parent which should be the ptracer.

## CONTEXT

Must be called with tasklist\_lock at least read locked.

## COPYRIGHT
