threadgroup_change_begin(9) - phpMan
THREADGROUP_CHANGE_B(9) Driver Basics THREADGROUP_CHANGE_B(9)
NAME
threadgroup_change_begin - mark the beginning of changes to a threadgroup
SYNOPSIS
void threadgroup_change_begin(struct task_struct * tsk);
ARGUMENTS
tsk
task causing the changes
DESCRIPTION
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.
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 THREADGROUP_CHANGE_B(9)
|