Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Dequeue a signal and return the element to the caller, which is* expected to free it.* All callers have to hold the siglock.

Proto:int dequeue_signal(struct task_struct *tsk, sigset_t *mask, kernel_siginfo_t *info)

Type:int

Parameter:

TypeParameterName
struct task_struct *tsk
sigset_t *mask
kernel_siginfo_t *info
625  bool resched_timer = false
631  signr = __dequeue_signal( & pending, mask, info, & resched_timer)
632  If Not signr Then
633  signr = __dequeue_signal( & shared_pending, mask, info, & resched_timer)
662  recalc_sigpending()
663  If Not signr Then Return 0
666  If Value for the false possibility is greater at compile time(sig_kernel_stop(signr)) Then
679  jobctl |= JOBCTL_STOP_DEQUEUED
697  Return signr
Caller
NameDescribe
get_signal
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
signalfd_dequeue
kernel_dequeue_signal