cancel_delayed_work_sync

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

cancel_delayed_work_sync - reliably kill off a delayed work.

SYNOPSIS

int cancel_delayed_work_sync(struct delayed_work * dwork);

ARGUMENTS

dwork

the delayed work struct

DESCRIPTION

Returns true if dwork was pending.

It is possible to use this function if dwork rearms itself via queue_work or queue_delayed_work. See also the comment for cancel_work_sync.