FLUSH_DELAYED_WORK_S

Section: Driver Basics (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

flush_delayed_work_sync - wait for a dwork to finish  

SYNOPSIS

bool flush_delayed_work_sync(struct delayed_work * dwork);
 

ARGUMENTS

dwork

the delayed work to flush
 

DESCRIPTION

Delayed timer is cancelled and the pending work is queued for execution immediately. Other than timer handling, its behavior is identical to flush_work_sync.  

RETURNS

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

COPYRIGHT