Scroll to navigation

CANCEL_DELAYED_WORK_(9) Driver Basics CANCEL_DELAYED_WORK_(9)

NAME

cancel_delayed_work_sync - cancel a delayed work and wait for it to finish

SYNOPSIS

bool cancel_delayed_work_sync(struct delayed_work * dwork);

ARGUMENTS

dwork

the delayed work cancel

DESCRIPTION

This is cancel_work_sync for delayed works.

RETURN

true if dwork was pending, false otherwise.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.