futex_setup_timer(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

futex_setup_timer β€” the function that sets up the sleeping hrtimer. literally its whole thing, bestie. this is the futex_setup_timer(9) page from the Kernel API Manual, and we're getting into it. ✨


✨ SYNOPSIS ✨

struct hrtimer_sleeper * futex_setup_timer (ktime_t *time , struct hrtimer_sleeper *timeout , int flags , u64 range_ns );

πŸŽ€ ARGUMENTS πŸŽ€

  • time β€” ptr to the given timeout value. like, a pointer to the timeout value you're handing over, no cap. 🫢
  • timeout β€” the hrtimer_sleeper structure to be set up. this is the struct getting its setup moment, main character energy fr fr. πŸ’…
  • flags β€” futex flags. the flags, iconic as always. πŸŽ€
  • range_ns β€” optional range in ns. optional range, measured in ns. iykyk. 🌸

πŸ¦‹ RETURN πŸ¦‹

returns the initialized hrtimer_sleeper structure, or NULL if no timeout value was given. periodt. πŸ’€βœ¨


🌸 SEE ALSO 🌸

kernel file: ./kernel/futex/core.c


ok bye bestie β€” cute little sign-off time: this page's source/version stamp is ./kernel/futex, the date is October 2026, and the manual page is futex_setup_timer(9). slay and stay hydrated. πŸ’–πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from