1FLUSH_WORK(9)                    Driver Basics                   FLUSH_WORK(9)
2
3
4

NAME

6       flush_work - block until a work_struct´s callback has terminated
7

SYNOPSIS

9       int flush_work(struct work_struct * work);
10

ARGUMENTS

12       work
13           the work which is to be flushed
14

DESCRIPTION

16       Returns false if work has already terminated.
17
18       It is expected that, prior to calling flush_work, the caller has
19       arranged for the work to not be requeued, otherwise it doesn´t make
20       sense to use this function.
21
23Kernel Hackers Manual 2.6.         June 2019                     FLUSH_WORK(9)
Impressum