Name

wait_for_completion_interruptible_timeout — waits for completion (w/(to,intr))

Synopsis

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.