'\" t .\" Title: threadgroup_change_begin .\" 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 "THREADGROUP_CHANGE_B" "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" threadgroup_change_begin \- mark the beginning of changes to a threadgroup .SH "SYNOPSIS" .HP \w'void\ threadgroup_change_begin('u .BI "void threadgroup_change_begin(struct\ task_struct\ *\ " "tsk" ");" .SH "ARGUMENTS" .PP \fItsk\fR .RS 4 task causing the changes .RE .SH "DESCRIPTION" .PP All operations which modify a threadgroup \- a new thread joining the group, death of a member thread (the assertion of PF_EXITING) and exec(2) dethreading the process and replacing the leader \- are wrapped by threadgroup_change_{begin|end}()\&. This is to provide a place which subsystems needing threadgroup stability can hook into for synchronization\&. .SH "COPYRIGHT" .br