1WAIT_FOR_COMPLETION_(9) Driver Basics WAIT_FOR_COMPLETION_(9)
2
3
4
6 wait_for_completion_interruptible_timeout - waits for completion
7 (w/(to,intr))
8
10 unsigned long __sched
11 wait_for_completion_interruptible_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. It is interruptible. The timeout is
24 in jiffies.
25
27Kernel Hackers Manual 2.6. November 2011 WAIT_FOR_COMPLETION_(9)