Name

complete_all — signals all threads waiting on this completion

Synopsis

void complete_all (struct completion * x);
 

Arguments

x

holds the state of this particular completion

Description

This will wake up all threads waiting on this particular completion event.

It may be assumed that this function implies a write memory barrier before changing the task state if and only if any tasks are woken up.