1CANCEL_DELAYED_WORK_(9) Driver Basics CANCEL_DELAYED_WORK_(9)
23
4
NAME
6cancel_delayed_work_sync - reliably kill off a delayed work.
7
SYNOPSIS
9int cancel_delayed_work_sync(struct delayed_work * dwork);
10
ARGUMENTS
12dwork
13the delayed work struct
14
DESCRIPTION
16Returns true if dwork was pending.
1718
It is possible to use this function if dwork rearms itself via
19queue_work or queue_delayed_work. See also the comment for
20cancel_work_sync.
21
COPYRIGHT
23Kernel Hackers Manual 2.6. November 2011 CANCEL_DELAYED_WORK_(9)