schedule_delayed_work(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 operation
  • delay β€” number of jiffies to wait, or 0 for immediate execution ⚑ ngl 0 means "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 πŸ‘‘

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