wait_for_completion_killable(9) waits for completion of a task (killable)

SYNOPSIS

int __sched wait_for_completion_killable(struct completion * x);

ARGUMENTS

x

holds the state of this particular completion

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.

COPYRIGHT