'\" t .\" Title: do_notify_parent_cldstop .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Driver Basics .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "DO_NOTIFY_PARENT_CLD" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Driver Basics" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" do_notify_parent_cldstop \- notify parent of stopped/continued state change .SH "SYNOPSIS" .HP \w'void\ do_notify_parent_cldstop('u .BI "void do_notify_parent_cldstop(struct\ task_struct\ *\ " "tsk" ", bool\ " "for_ptracer" ", int\ " "why" ");" .SH "ARGUMENTS" .PP \fItsk\fR .RS 4 task reporting the state change .RE .PP \fIfor_ptracer\fR .RS 4 the notification is for ptracer .RE .PP \fIwhy\fR .RS 4 CLD_{CONTINUED|STOPPED|TRAPPED} to report .RE .SH "DESCRIPTION" .PP Notify \fItsk\fR\*(Aqs parent that the stopped/continued state has changed\&. If \fIfor_ptracer\fR is \fBfalse\fR, \fItsk\fR\*(Aqs group leader notifies to its real parent\&. If \fBtrue\fR, \fItsk\fR reports to \fItsk\fR\->parent which should be the ptracer\&. .SH "CONTEXT" .PP Must be called with tasklist_lock at least read locked\&. .SH "COPYRIGHT" .br