cancel_delayed_work_(9)

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.

COPYRIGHT

Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout