Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\signal.h Create Date:2022-07-28 05:38:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sigisemptyset

Proto:static inline int sigisemptyset(sigset_t *set)

Type:int

Parameter:

TypeParameterName
sigset_t *set
86  Case _NSIG_WORDS == 4
87  Return ( sig[3] | sig[2] | sig[1] | sig[0]) == 0
89  Case _NSIG_WORDS == 2
90  Return (sig[1] | sig[0]) == 0
91  Case _NSIG_WORDS == 1
92  Return sig[0] == 0
93  Default
94  BUILD_BUG - break compile if used.* If you have some code that you expect the compiler to eliminate at* build time, you should use BUILD_BUG to detect if it is* unexpectedly used.()
95  Return 0
Caller
NameDescribe
flush_sigqueue_maskRemove signals in mask from the pending set and queue.* Returns 1 if any signals were found.* All callers must be holding the siglock.
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.