threadgroup_lock(9) centos man page | unix.com

Man Page: threadgroup_lock

Operating Environment: centos

Section: 9

THREADGROUP_LOCK(9)						   Driver Basics					       THREADGROUP_LOCK(9)

NAME
threadgroup_lock - lock threadgroup
SYNOPSIS
void threadgroup_lock(struct task_struct * tsk);
ARGUMENTS
tsk member task of the threadgroup to lock
DESCRIPTION
Lock the threadgroup tsk belongs to. No new task is allowed to enter and member tasks aren't allowed to exit (as indicated by PF_EXITING) or change ->group_leader/pid. This is useful for cases where the threadgroup needs to stay stable across blockable operations. fork and exit paths explicitly call threadgroup_change_{begin|end}() for synchronization. While held, no new task will be added to threadgroup and no existing live task will have its PF_EXITING set. de_thread does threadgroup_change_{begin|end}() when a non-leader sub-thread becomes a new leader.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 THREADGROUP_LOCK(9)
Related Man Pages
__get_user_pages(9) - centos
schedule_hrtimeout_range(9) - centos
wait_event_interruptible_exclusive_locked_irq(9) - centos
pvm_advise(3pvm) - redhat
vxvoladmtask(1m) - hpux
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Set hard block limit for user using quota
Unsure why access time on a directory change isn't changing
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!