cancel_delayed_work(9) centos man page | unix.com

Man Page: cancel_delayed_work

Operating Environment: centos

Section: 9

CANCEL_DELAYED_WORK(9)						   Driver Basics					    CANCEL_DELAYED_WORK(9)

NAME
cancel_delayed_work - cancel a delayed work
SYNOPSIS
bool cancel_delayed_work(struct delayed_work * dwork);
ARGUMENTS
dwork delayed_work to cancel
DESCRIPTION
Kill off a pending delayed_work. Returns true if dwork was pending and canceled; false if wasn't pending. Note that the work callback function may still be running on return, unless it returns true and the work doesn't re-arm itself. Explicitly flush or use cancel_delayed_work_sync to wait on it. This function is safe to call from any context including IRQ handler.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 CANCEL_DELAYED_WORK(9)
Related Man Pages
tcl_cancelidlecall(3) - mojave
usb_queue_reset_device(9) - centos
tcl_cancelidlecall(3) - centos
after(n) - opendarwin
tcl_cancelidlecall(3) - redhat
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Weird 'find' results
DB2 convert digits to binary format
CentOS 6 ran out of space, need to reclaim it
[TIP] Processing YAML files with yq