flush_delayed_work(9)

flush_delayed_work9

Wait for a dwork to finish executing the last queueing

Usage

bool flush_delayed_work(struct delayed_work * dwork);

Arguments

dwork

the delayed work to flush

Overview

Delayed timer is cancelled and the pending work is queued for immediate execution. Like flush_work, this function only considers the last queueing instance of dwork.

Return

true if flush_work waited for the work to finish execution, false if it was already idle.

Releases

3 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0
  2. 7
  3. 8

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.