Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__set_task_blocked

Proto:static void __set_task_blocked(struct task_struct *tsk, const sigset_t *newset)

Type:void

Parameter:

TypeParameterName
struct task_struct *tsk
const sigset_t *newset
2880  If signal_pending(tsk) && Not thread_group_empty(tsk) Then
2883  sigandnsets( & newblocked, newset, & blocked)
2884  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.
2886  blocked = newset
2887  recalc_sigpending()
Caller
NameDescribe
__set_current_blocked
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