Function report |
Source Code:kernel\signal.c |
Create Date:2022-07-28 09:17:24 |
Last Modify:2020-03-17 13:28:47 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static int do_sigtimedwait(const sigset_t *which, kernel_siginfo_t *info, const struct timespec64 *ts)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const sigset_t * | which | |
kernel_siginfo_t * | info | |
const struct timespec64 * | ts |
3436 | tsk = current process |
3438 | ret = 0 |
3440 | If ts Then |
3441 | If Not Returns true if the timespec64 is norm, false if denorm: Then Return -EINVAL |
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 = blocked |
3463 | sigandsets( & blocked, & blocked, & mask) |
3464 | recalc_sigpending() |
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) |
Name | Describe |
---|---|
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 |
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 |