schedule_delayed_work(9)
π schedule_delayed_work(9) π
okay bestie, welcome to the Kernel API Manual β this one's about schedule_delayed_work, and it's literally the "text you later" of the workqueue world π
β¨ NAME β¨
schedule_delayed_work β put a work task in the per-CPU workqueue after a delay πβ¨
πΈ SYNOPSIS πΈ
bool schedule_delayed_work (struct delayed_work *dwork , unsigned long
delay );
that's it, that's the whole vibe. it hands you back a bool, no cap π«Ά
π ARGUMENTS π
dworkβ the job to be done π οΈ like, the actual work, the main character of this whole operationdelayβ number of jiffies to wait, or0for immediate execution β‘ ngl0means "no thoughts, head empty, do it now"
π¦ DESCRIPTION π¦
After waiting for a given time, this puts a job in the system per-CPU workqueue. π
likeβ¦ you set the timer, you go live your life, and then boom β the job lands in the system per-CPU workqueue. it's giving "schedule it and forget it" energy fr fr π
π SEE ALSO π
- Kernel file
./include/linux/workqueue.h struct workqueue_attrs(9)work_pending(9)delayed_work_pending(9)alloc_workqueue(9)devm_alloc_workqueue(9)alloc_workqueue_lockdep_map(9)alloc_ordered_workqueue_lockdep_map(9)alloc_ordered_workqueue(9)queue_work(9)queue_delayed_work(9)mod_delayed_work(9)schedule_work_on(9)schedule_work(9)enable_and_queue_work(9)schedule_delayed_work_on(9)
the whole friend group, honestly π go read the rest, iykyk π
and that's the page!! sourced from ./include/linux, dated October 2026, filed under schedule_delayed_work(9) β mwah, slay, periodt π
ππΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms