Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\signal.h Create Date:2022-07-28 05:40:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:thread_group_empty

Proto:static inline int thread_group_empty(struct task_struct *p)

Type:int

Parameter:

TypeParameterName
struct task_struct *p
659  Return list_empty - tests whether a list is empty*@head: the list to test.
Caller
NameDescribe
pidfd_pollPoll support for process exit notification.
check_unshare_flagsCheck constraints on flags passed to the unshare system call.
release_task
will_become_orphaned_pgrpDetermine if a process group is "orphaned", according to the POSIX* definition in 2
reparent_leaderAny that need to be release_task'd are put on the @dead list.
exit_notifySend signals to all our closest relatives so that they know* to properly mourn us..
do_group_exitTake down every thread in the group. This is called by fatal signals* as well as by sys_exit_group (below).
__ptrace_detachCalled with tasklist_lock held for writing
ptrace_resume
complete_signal
do_notify_parentLet a parent know about the death of a child.* For a stopped/continued status change, use do_notify_parent_cldstop instead.* Returns true if our parent ignored us and so we've switched to* self-reaping.
exit_signals
__set_task_blocked
posix_cpu_timer_rearm
userns_install
taskstats_tgid_alloc
__task_will_free_mem
keyctl_session_to_parentAttempt to install the calling process's session keyring on the process's* parent process.* The keyring must exist and must grant the caller LINK permission, and the* parent process must be single-threaded and must have the same effective
de_threadThis function makes sure the current process has its own signal table,* so that flush_signal_handlers can later reset the handlers without* disturbing other processes. (Other processes might share the signal* table via the CLONE_SIGHAND option to clone().)