WAIT_FOR_COMPLETION_
Section: Driver Basics (9)
Updated: February 2011
Index
Return to Main Contents
NAME
wait_for_completion_timeout - waits for completion of a task (w/timeout)
SYNOPSIS
-
unsigned long __sched wait_for_completion_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. The timeout is in jiffies. It is not interruptible.
COPYRIGHT