schedule_tim...nterruptible(9)
π NAME π
schedule_timeout_interruptible β bestie, this one literally just sleeps until the timeout hits, and it's the interruptible kind β¨
π SYNOPSIS π
signed long schedule_timeout_interruptible (signed long timeout );
πΈ ARGUMENTS πΈ
timeoutβ the timeout value in jiffies, no cap π«Ά that's the whole vibe of this argument, it's just how long you're gonna nap for
π¦ DESCRIPTION π¦
So like, the actual deets? Go see schedule_timeout for those β this page is not the main character of that story, it's giving "see also, bestie" energy π
The one thing you do need to know: task state gets set to TASK_INTERRUPTIBLE before the timeout even starts. Periodt. That's the whole personality of this function π
ngl, "interruptible" in the name is not decoration β it's the whole point, and the description is literally just that one line about TASK_INTERRUPTIBLE. Don't come for me, I'm just relaying what the page says π₯
β SEE ALSO β
- Kernel file
./kernel/time/sleep_timeout.cβ the whole source file, go read it if you're feeling studious π schedule_timeout(9)schedule_timeout_killable(9)schedule_timeout_uninterruptible(9)schedule_timeout_idle(9)schedule_hrtimeout_range_clock(9)schedule_hrtimeout_range(9)schedule_hrtimeout(9)msleep(9)msleep_interruptible(9)usleep_range_state(9)
Like, the entire sleep-timeout friend group is here and they all ate π
π a lil sign-off π
okay so that's the whole page, mwah π it's from ./kernel/time, dated October 2026, and the page it lives on is schedule_tim...nterruptible(9) β yes the header truncates it like that, it's iconic in a chaotic way, iykyk ππ
π¦ 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