table of contents
other versions
- wheezy 3.2.78-1
WAIT_FOR_COMPLETION_(9) | Driver Basics | WAIT_FOR_COMPLETION_(9) |
NAME¶
wait_for_completion_killable_timeout - waits for completion of a task (w/(to,killable))SYNOPSIS¶
long
__sched
wait_for_completion_killable_timeout(struct completion * x,
unsigned long timeout);
ARGUMENTS¶
xholds 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 can be interrupted by a kill signal. The timeout is in jiffies. The return value is -ERESTARTSYS if interrupted, 0 if timed out, positive (at least 1, or number of jiffies left till timeout) if completed.COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |