函数逻辑报告 |
Source Code:kernel\signal.c |
Create Date:2022-07-27 10:15:21 |
Last Modify:2020-03-17 13:28:47 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Dequeue a signal and return the element to the caller, which is* expected to free it.* All callers have to hold the siglock.
函数原型:int dequeue_signal(struct task_struct *tsk, sigset_t *mask, kernel_siginfo_t *info)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | tsk | |
sigset_t * | mask | |
kernel_siginfo_t * | info |
625 | bool resched_timer = false |
631 | signr等于__dequeue_signal( & 待处理信号, mask, info, & resched_timer) |
632 | 如果非signr则 |
633 | signr等于__dequeue_signal( & shared_pending, mask, info, & resched_timer) |
662 | 确定进程等待信号 |
663 | 如果非signr则返回:0 |
666 | 如果此条件成立可能性小(为编译器优化)(sig_kernel_stop(signr))则 |
679 | jobctl或等于JOBCTL_STOP_DEQUEUED |
697 | 返回:signr |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |