suse man page for flush_workqueue

Query: flush_workqueue

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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
device_schedule_callback_owner(9) - centos
spi_async(9) - centos
usb_queue_reset_device(9) - centos
pthread_workqueue(3) - debian
workqueue(9) - netbsd
Similar Topics in the Unix Linux Community
Change directory error
Grant unprivileged user rights to see the output of echo|format but not modify disks
Tar Command
A (ksh) Library For and From UNIX.com
Docker learning Phase-I