1COMPLETE(9) Driver Basics COMPLETE(9)
2
3
4
6 complete - signals a single thread waiting on this completion
7
9 void complete(struct completion * x);
10
12 x
13 holds the state of this particular completion
14
16 This will wake up a single thread waiting on this completion. Threads
17 will be awakened in the same order in which they were queued.
18
19 See also complete_all, wait_for_completion and related routines.
20
21 It may be assumed that this function implies a write memory barrier
22 before changing the task state if and only if any tasks are woken up.
23
25Kernel Hackers Manual 2.6. November 2011 COMPLETE(9)