Name

complete — signals a single thread waiting on this completion

Synopsis

void complete (struct completion * x);
 

Arguments

x

holds the state of this particular completion

Description

This will wake up a single thread waiting on this completion. Threads will be awakened in the same order in which they were queued.

See also complete_all, wait_for_completion and related routines.