flush_workqueue
Prev | Workqueues and Kevents | Next

## 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.

Prev | Up | Next
mod_delayed_work_on | Home | drain_workqueue