函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\signal.c Create Date:2022-07-27 10:15:44
Last Modify:2020-03-17 13:28:47 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Nuke all other threads in the group.

函数原型:int zap_other_threads(struct task_struct *p)

返回类型:int

参数:

类型参数名称
struct task_struct *p
1344  t等于p
1345  count等于0
1347  group_stop_count等于0
1350  ask_clear_jobctl_pending - clear jobctl pending bits*@task: target task*@mask: pending bits to clear* Clear @mask from @task->jobctl. @mask must be subset of* %JOBCTL_PENDING_MASK. If %JOBCTL_STOP_PENDING is being cleared, other
1351  count自加
1354  如果进程退出时状态则继续下一循环
1356  We don't use for these because there is no need tobe atomic.
1357  signal_wake_up(t, 1)
1360  返回:count
调用者
名称描述
do_group_exitTake down every thread in the group. This is called by fatal signals* as well as by sys_exit_group (below).
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().)