centos man page for drain_workqueue

Query: drain_workqueue

OS: centos

Section: 9

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

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
dpm-drain(1) - debian
pthread_workqueue(3) - debian
device_schedule_callback_owner(9) - suse
workqueue_enqueue(9) - netbsd
queue(9s) - redhat
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
How to increment version inside a file?
DB2 convert digits to binary format
Docker learning Phase-I
Please Welcome Dave Munro to the Moderator Team!