1WAIT_FOR_COMPLETION_(9) Driver Basics WAIT_FOR_COMPLETION_(9)
23
4
NAME
6wait_for_completion_interruptible - waits for completion of a task
7(w/intr)
8
SYNOPSIS
10int __sched wait_for_completion_interruptible(struct completion * x);
11
ARGUMENTS
13x
14holds the state of this particular completion
15
DESCRIPTION
17This waits for completion of a specific task to be signaled. It is
18interruptible.
19
RETURN
21-ERESTARTSYS if interrupted, 0 if completed.
22
COPYRIGHT
24Kernel Hackers Manual 3.10 June 2019 WAIT_FOR_COMPLETION_(9)