1WAIT_FOR_COMPLETION_(9) Driver Basics WAIT_FOR_COMPLETION_(9)
2
3
4
6 wait_for_completion_timeout - waits for completion of a task
7 (w/timeout)
8
10 unsigned long __sched
11 wait_for_completion_timeout(struct completion * x,
12 unsigned long timeout);
13
15 x
16 holds the state of this particular completion
17
18 timeout
19 timeout value in jiffies
20
22 This waits for either a completion of a specific task to be signaled or
23 for a specified timeout to expire. The timeout is in jiffies. It is not
24 interruptible.
25
27Kernel Hackers Manual 2.6. June 2019 WAIT_FOR_COMPLETION_(9)