Name

completion_done — Test to see if a completion has any waiters

Synopsis

bool completion_done (struct completion * x);
 

Arguments

x

completion structure

Returns

0 if there are waiters (wait_for_completion in progress) 1 if there are no waiters.