Query: cancel_delayed_work
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CANCEL_DELAYED_WORK(9) Driver Basics CANCEL_DELAYED_WORK(9)NAMEcancel_delayed_work - cancel a delayed workSYNOPSISbool cancel_delayed_work(struct delayed_work * dwork);ARGUMENTSdwork delayed_work to cancelDESCRIPTIONKill 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.COPYRIGHTKernel Hackers Manual 3.10 June 2014 CANCEL_DELAYED_WORK(9)