table of contents
| FLUSH_WORKQUEUE(9) | Driver Basics | FLUSH_WORKQUEUE(9) |
NAME¶
flush_workqueue - ensure that any scheduled work has run to completion.
SYNOPSIS¶
void flush_workqueue(struct workqueue_struct * wq);
ARGUMENTS¶
wq
workqueue to flush
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.
COPYRIGHT¶
| June 2024 | Kernel Hackers Manual 3.10 |