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:sigandsets

Proto:static inline void sigandsets(sigset_t *r, const sigset_t *a, const sigset_t *b)

Type:void

Parameter:

TypeParameterName
sigset_t *r
const sigset_t *a
const sigset_t *b
150  Case / == 4
150  a3 = sig[3]
150  a2 = sig[2]
150  b3 = sig[3]
150  b2 = sig[2]
150  sig[3] = a3 & b3
150  sig[2] = a2 & b2
150  Case / == 2
150  a1 = sig[1]
150  b1 = sig[1]
150  sig[1] = a1 & b1
150  Case / == 1
150  a0 = sig[0]
150  b0 = sig[0]
150  sig[0] = a0 & b0
150  Break
150  Default
150  Do
150  When 0 cycle
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.
do_sigpending
do_sigtimedwaitdo_sigtimedwait - wait for queued signals specified in @which*@which: queued signals to wait for*@info: if non-null, the signal's siginfo is returned here*@ts: upper bound on process time suspension