1. NAME

flush_workqueue - ensure that any scheduled work has run to completion.

2. SYNOPSIS

void flush_workqueue(struct workqueue_struct *  wq );

3. ARGUMENTS

wq
    workqueue to flush

4. DESCRIPTION

This function sleeps until all work items which were queued on entry have finished execution, but it is not livelocked by new incoming ones.

5. COPYRIGHT