alarmtimer_dequeue(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… alarmtimer_dequeue β€” kernel API manual, but make it cute

okay so bestie, quick vibe check: this page is alarmtimer_dequeue(9) from the Kernel API Manual, and it's genuinely short and sweet. no cap, we're in and out. 🫢


✨ NAME ✨

alarmtimer_dequeue β€” Removes an alarm timer from an alarm_base timerqueue

like, it takes the alarm out of the queue. that's the whole plot. πŸŽ€


🌸 SYNOPSIS 🌸

void alarmtimer_dequeue (struct alarm_base *base , struct alarm *alarm );

it returns void β€” nothing comes back, it just does the thing and dips. icon behavior honestly. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • base β€” pointer to the base where the timer is running. this is the timerqueue-having one, iykyk.
  • alarm β€” pointer to alarm being removed. yes, this alarm. the one getting dequeued. main character of the operation tbh.

⭐ DESCRIPTION ⭐

Removes alarm to a alarm_base timerqueue. ✨

🚨 big important one, bestie: you must hold base->lock when calling this. like, not optional. hold the lock. do not skip the lock. this is the whole caveat and it is not a vibe to ignore. πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./kernel/time/alarmtimer.c, plus the whole extended universe:

literally the entire friend group. go read alarmtimer_enqueue(9) next, it's the ✨ opposite energy ✨ and they come as a set. 🌈


okay that's the page!! thanks for coming to my ted talk, ily, and remember: hold the lock. 🧚 source lives in ./kernel/time, this one's dated October 2026, and yes that's the whole sign-off bestie β€” mwah πŸ’–πŸ“πŸ‘‘

πŸ“¦ where this page comes from