Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\signal.c Create Date:2022-07-28 09:15:07
Last Modify:2020-03-17 13:28:47 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Re-calculate pending state from the set of locally pending* signals, globally pending signals, and blocked signals.

Proto:static inline bool has_pending_signals(sigset_t *signal, sigset_t *blocked)

Type:bool

Parameter:

TypeParameterName
sigset_t *signal
sigset_t *blocked
132  Default
133  When --i >= 0 cycle ready |= sig[i] & ~sig[i]
135  Break
137  Case _NSIG_WORDS == 4
137  ready = sig[3] & ~sig[3]
138  ready |= sig[2] & ~sig[2]
139  ready |= sig[1] & ~sig[1]
140  ready |= sig[0] & ~sig[0]
141  Break
143  Case _NSIG_WORDS == 2
143  ready = sig[1] & ~sig[1]
144  ready |= sig[0] & ~sig[0]
145  Break
147  Case _NSIG_WORDS == 1
147  ready = sig[0] & ~sig[0]
149  Return ready != 0
Caller
NameDescribe
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.