Function report |
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 activity | Download SCCT | Chinese |
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:
Type | Parameter | Name |
---|---|---|
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 |
679 | jobctl |= JOBCTL_STOP_DEQUEUED |
697 | Return signr |
Name | Describe |
---|---|
get_signal | |
do_sigtimedwait | do_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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |