函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:It could be that complete_signal() picked us to notify about the* group-wide signal. Other threads should be notified now to take* the shared signals in @which since we will not.

函数原型:static void retarget_shared_pending(struct task_struct *tsk, sigset_t *which)

返回类型:void

参数:

类型参数名称
struct task_struct *tsk
sigset_t *which
2788  sigandsets( & retarget, & signal, which)
2789  如果sigisemptyset( & retarget)则返回
2792  t等于tsk
2794  如果任务标志按位与Getting shut down 则继续下一循环
2797  如果非Re-calculate pending state from the set of locally pending* signals, globally pending signals, and blocked signals.则继续下一循环
2800  sigandsets( & retarget, & retarget, & 需要阻塞的信号)
2802  如果非signal_pending(t)则signal_wake_up(t, 0)
2805  如果sigisemptyset( & retarget)则退出
调用者
名称描述
exit_signals
__set_task_blocked