函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Re-calculate pending state from the set of locally pending* signals, globally pending signals, and blocked signals.

函数原型:static inline bool has_pending_signals(sigset_t *signal, sigset_t *blocked)

返回类型:bool

参数:

类型参数名称
sigset_t *signal
sigset_t *blocked
132  默认
133 i先自减大于等于0循环ready或等于信号[i]按位与信号[i]的反
135  退出
137  :_NSIG_WORDS恒等于4
137  ready等于信号[3]按位与信号[3]的反
138  ready或等于信号[2]按位与信号[2]的反
139  ready或等于信号[1]按位与信号[1]的反
140  ready或等于信号[0]按位与信号[0]的反
141  退出
143  :_NSIG_WORDS恒等于2
143  ready等于信号[1]按位与信号[1]的反
144  ready或等于信号[0]按位与信号[0]的反
145  退出
147  :_NSIG_WORDS恒等于1
147  ready等于信号[0]按位与信号[0]的反
149  返回:ready不等于0
调用者
名称描述
retarget_shared_pendingIt 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.