函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\completion.c Create Date:2022-07-27 10:41:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:wait_for_completion_interruptible: - waits for completion of a task (w/intr)*@x: holds the state of this particular completion* This waits for completion of a specific task to be signaled. It is* interruptible.

函数原型:int __sched wait_for_completion_interruptible(struct completion *x)

返回类型:int

参数:

类型参数名称
struct completion *x
204  t等于wait_for_common(x, MAX_SCHEDULE_TIMEOUT, 睡眠态)
205  如果t恒等于负These should never be seen by user programs. To return one of ERESTART** codes, signal_pending() MUST be set. Note that ptrace can observe these* at syscall exit tracing, but they will never be left for the debugged user* process to see.则返回:t
207  返回:0