WAIT_FOR_COMPLETION_(9) Driver Basics WAIT_FOR_COMPLETION_(9)NAMEwait_for_completion_interruptible_timeout - waits for completion
(w/(to,intr))
SYNOPSIS
unsigned long __sched
wait_for_completion_interruptible_timeout(struct completion * x,
unsigned long timeout);
ARGUMENTS
x
holds the state of this particular completion
timeout
timeout value in jiffies
DESCRIPTION
This waits for either a completion of a specific task to be signaled or
for a specified timeout to expire. It is interruptible. The timeout is
in jiffies.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 WAIT_FOR_COMPLETION_(9)