COMPLETION_DONE(9) Driver Basics COMPLETION_DONE(9)NAMEcompletion_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.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 COMPLETION_DONE(9)