cancel_delayed_work_sync(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so this is the cancel_delayed_work_sync(9) page from the Kernel API Manual, and bestie, the whole vibe is: cancel a delayed work and wait for it to finish. That’s the mission. πŸ’…


✨ SYNOPSIS ✨

bool cancel_delayed_work_sync (struct delayed_work *dwork );

🧚 ARGUMENTS 🧚

  • dwork β€” the delayed work you’re cancelling. Yes, that one. 🫢

πŸ’– DESCRIPTION πŸ’–

This is cancel_work_sync for delayed works. No cap. It’s giving β€œsame energy, delayed-work edition.” 🌸

🌈 RETURN 🌈

  • true if dwork was pending, false otherwise.

πŸ¦‹ SEE ALSO πŸ¦‹

First up: the kernel file ./kernel/workqueue.c. Then the whole friend group β€” every single ref, no skips, iykyk:


mwah πŸ’‹ this lil page lives under ./kernel and is dated October 2026. bye bestie, go cancel that delayed work with confidence ✨

πŸ“¦ where this page comes from