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.