函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\signal.h Create Date:2022-07-27 06:42:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:If true, all threads except ->group_exit_task have pending SIGKILL

函数原型:static inline int signal_group_exit(const struct signal_struct *sig)

返回类型:int

参数:

类型参数名称
const struct signal_struct *sig
259  返回:(see SIGNAL_* flags below & group exit in progress ) || (group_exit_task != NULL)
调用者
名称描述
do_group_exitTake down every thread in the group. This is called by fatal signals* as well as by sys_exit_group (below).
do_signal_stopdo_signal_stop - handle group stop for SIGSTOP and other stop signals*@signr: signr causing group stop if initiating* If %JOBCTL_STOP_PENDING is not set yet, initiate group stop with @signr* and participate in it
get_signal
exit_signals
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().)
zap_threads