- void __sched wait_for_completion(struct completion * x);
- holds the state of this particular completion
This waits to be signaled for completion of a specific task. It is NOT interruptible and there is no timeout.
See also similar routines (i.e. wait_for_completion_timeout) with timeout and interrupt capability. Also see complete.