Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dequeue_synchronous_signal

Proto:static int dequeue_synchronous_signal(kernel_siginfo_t *info)

Type:int

Parameter:

TypeParameterName
kernel_siginfo_t *info
703  tsk = current process
704  pending = pending
705  struct sigqueue * q, * sync = NULL
710  If Not ( sig[0] & ~sig[0] & Given the mask, find the first available signal that should be serviced. ) Then Return 0
718  If si_code > sent by kill, sigsend, raise && sigmask(si_signo) & Given the mask, find the first available signal that should be serviced. Then
720  sync = q
721  Go to next
724  Return 0
725  :
730  If si_signo == si_signo Then Go to still_pending
734  sigdelset( & signal, si_signo)
735  recalc_sigpending()
736  still_pending :
737  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
738  copy_siginfo(info, & info)
739  __sigqueue_free(sync)
740  Return si_signo
Caller
NameDescribe
get_signal