Name
wait_for_completion_killable —
waits for completion of a task (killable)
Synopsis
int __sched fsfuncwait_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.