函数逻辑报告 |
Source Code:kernel\signal.c |
Create Date:2022-07-27 10:17:21 |
Last Modify:2020-03-17 13:28:47 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:static int do_sigtimedwait(const sigset_t *which, kernel_siginfo_t *info, const struct timespec64 *ts)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const sigset_t * | which | |
kernel_siginfo_t * | info | |
const struct timespec64 * | ts |
3438 | ret等于0 |
3440 | 如果ts则 |
3453 | spin_lock_irq( & siglock) |
3454 | sig等于Dequeue a signal and return the element to the caller, which is* expected to free it.* All callers have to hold the siglock. |
3462 | real_blocked等于需要阻塞的信号 |
3463 | sigandsets( & 需要阻塞的信号, & 需要阻塞的信号, & mask) |
3464 | 确定进程等待信号 |
3465 | spin_unlock_irq( & siglock) |
3470 | spin_lock_irq( & siglock) |
3471 | __set_task_blocked(tsk, & real_blocked) |
3472 | sigemptyset( & real_blocked) |
3475 | spin_unlock_irq( & siglock) |
名称 | 描述 |
---|---|
SYSCALL_DEFINE4 | sys_rt_sigtimedwait - synchronously wait for queued signals specified* in @uthese*@uthese: queued signals to wait for*@uinfo: if non-null, the signal's siginfo is returned here*@uts: upper bound on process time suspension*@sigsetsize: size of sigset_t type |
COMPAT_SYSCALL_DEFINE4 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |