threadgroup_change_begin(9) 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