flush_workqueue(9) suse man page | unix.com

Man Page: flush_workqueue

Operating Environment: suse

Section: 9

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
Forces execution of the workqueue and blocks until its completion. This is typically used in driver shutdown handlers. We sleep until all works which were queued on entry have been handled, but we are not livelocked by new incoming ones. This function used to run the workqueues itself. Now we just wait for the helper threads to do it.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 FLUSH_WORKQUEUE(9)
Related Man Pages
spi_async(9) - suse
pthread_workqueue(3) - debian
workqueue_destroy(9) - netbsd
workqueue(9) - netbsd
tapset::irq(3stap) - centos
Similar Topics in the Unix Linux Community
Grant unprivileged user rights to see the output of echo|format but not modify disks
Cut command on RHEL 6.8 compatibility issues
A (ksh) Library For and From UNIX.com
The Future of the PM (Private Message) System at UNIX.com
32 bit process addressing more than 4GB