threadgroup_lock man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

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.11	 November 2013		   THREADGROUP_LOCK(9)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net