1. NAME▲

wait_for_completion_interruptible - waits for completion of a task (w/intr)

2. SYNOPSIS ▲

int __sched wait_for_completion_interruptible(struct completion *  x );

3. ARGUMENTS ▲

x
    holds the state of this particular completion

4. DESCRIPTION ▲

This waits for completion of a specific task to be signaled. It is interruptible.

The return value is -ERESTARTSYS if interrupted, 0 if completed.

5. COPYRIGHT ▲