Name
flush_work —
block until a work_struct's callback has terminated
Synopsis
int flush_work (
struct work_struct * work)
;
Arguments
work
the work which is to be flushed
Description
Returns false if work
has already terminated.
It is expected that, prior to calling flush_work
, the caller has
arranged for the work to not be requeued, otherwise it doesn't make
sense to use this function.