1FLUSH_WORKQUEUE(9) Driver Basics FLUSH_WORKQUEUE(9)
23
4
NAME
6flush_workqueue - ensure that any scheduled work has run to completion.
7
SYNOPSIS
9void flush_workqueue(struct workqueue_struct * wq);
10
ARGUMENTS
12wq
13workqueue to flush
14
DESCRIPTION
16This function sleeps until all work items which were queued on entry
17have finished execution, but it is not livelocked by new incoming ones.
18
COPYRIGHT
20Kernel Hackers Manual 3.10 June 2019 FLUSH_WORKQUEUE(9)