drain_workqueue(9) centos man page | unix.com

Man Page: drain_workqueue

Operating Environment: centos

Section: 9

DRAIN_WORKQUEUE(9)						   Driver Basics						DRAIN_WORKQUEUE(9)

NAME
drain_workqueue - drain a workqueue
SYNOPSIS
void drain_workqueue(struct workqueue_struct * wq);
ARGUMENTS
wq workqueue to drain
DESCRIPTION
Wait until the workqueue becomes empty. While draining is in progress, only chain queueing is allowed. IOW, only currently pending or running work items on wq can queue further work items on it. wq is flushed repeatedly until it becomes empty. The number of flushing is detemined by the depth of chaining and should be relatively short. Whine if it takes too long.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 DRAIN_WORKQUEUE(9)
Related Man Pages
pthread_workqueue(3) - debian
usb_queue_reset_device(9) - suse
workqueue(9) - netbsd
workqueue_enqueue(9) - netbsd
tapset::irq(3stap) - centos
Similar Topics in the Unix Linux Community
Weird 'find' results
Best performance UNIX just for HOST Virtualization?
CentOS7 restoring file capabilities
Unsure why access time on a directory change isn't changing
[TIP] Processing YAML files with yq