1FLUSH_WORK(9) Driver Basics FLUSH_WORK(9)
23
4
NAME
6flush_work - block until a work_struct´s callback has terminated
7
SYNOPSIS
9int flush_work(struct work_struct * work);
10
ARGUMENTS
12work
13the work which is to be flushed
14
DESCRIPTION
16Returns false if work has already terminated.
1718
It is expected that, prior to calling flush_work, the caller has
19arranged for the work to not be requeued, otherwise it doesn´t make
20sense to use this function.
21
COPYRIGHT
23Kernel Hackers Manual 2.6. June 2019 FLUSH_WORK(9)