futex_wait_multiple(9)
π futex_wait_multiple(9) π
okay so welcome to the Kernel API Manual page for futex_wait_multiple(9) β bestie, we are literally about to get into futex group-chat nap mode π«Άβ¨
π NAME π
futex_wait_multiple β prepare to wait on and enqueue several futexes, periodt π
β¨ SYNOPSIS β¨
int futex_wait_multiple (struct futex_vector *vs , unsigned int count ,
struct hrtimer_sleeper *to );
π«Ά ARGUMENTS π«Ά
vsβ the list of futexes to wait on, like the little squad you're keeping an eye on πcountβ the number of objects, fr fr π’toβ timeout before giving up and returning to userspace β°
π DESCRIPTION π
Entry point for the FUTEX_WAIT_MULTIPLE futex operation. This function sleeps on a group of futexes and returns on the first futex that is wake, or after the timeout has elapsed.
it's giving "group nap until somebody wakes up or the timer says enough" energy ππΈ
π RETURN π
>=0β hint to the futex that was awoken π<0β on error π
π¦ SEE ALSO π¦
Kernel file ./kernel/futex/waitwake.c, plus the whole squad: futex_do_wait(9), futex_unqueue_multiple(9), futex_wait_multiple_setup(9), futex_sleep_multiple(9), and futex_wait_setup(9) π¦β¨
catch u in ./kernel/futex β October 2026 edition, page futex_wait_multiple(9) ππ
π¦ 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