Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\completion.c Create Date:2022-07-28 09:41:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:int __sched wait_for_completion_interruptible(struct completion *x)

Type:int

Parameter:

TypeParameterName
struct completion *x
204  t = wait_for_common(x, MAX_SCHEDULE_TIMEOUT, TASK_INTERRUPTIBLE)
205  If 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. Then Return t
207  Return 0