1. NAME▲

wait_for_completion_killable - waits for completion of a task (killable)

2. SYNOPSIS ▲

int __sched wait_for_completion_killable(struct completion *  x );

3. ARGUMENTS ▲

x
    holds the state of this particular completion

4. DESCRIPTION ▲

This waits to be signaled for completion of a specific task. It can be interrupted by a kill signal.

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

5. COPYRIGHT ▲