futex_unqueue_multiple(9)
πΈ NAME πΈ
futex_unqueue_multiple β Remove various futexes from their hash bucket π
periodt.
Okay bestie, welcome to the futex_unqueue_multiple(9) page from the Kernel API Manual β¨ she's giving kernel-helper realness and we're here for it π«Ά.
π¦ SYNOPSIS π¦
int futex_unqueue_multiple (struct futex_vector *v , int count );
π ARGUMENTS π
vβ the list of futexes to unqueue, aka the little roster of futexes we're pulling out πcountβ number of futexes in the list, so you know how many besties we're handling π’
π DESCRIPTION π
This is a helper that unqueues a list of futexes. And the iconic part? This can't fail β literally cannot fail, no cap ππ . No error-path drama, she just does the thing.
β RETURN β
>=0β index of the last futex that was awoken π the final sleepyhead to get the wake-up call, iykyk-1β no futex was awoken π not a single one, zero, nada
π₯ SEE ALSO π₯
The kernel file ./kernel/futex/waitwake.c is the scene of the crime, bestie π§β¨ β and you'll also wanna peek at futex_do_wait(9), futex_wait_multiple_setup(9), futex_sleep_multiple(9), futex_wait_multiple(9), and futex_wait_setup(9). All the related futex lore lives right there π.
that's the whole page, bestie! source/version vibes come from ./kernel/futex, dated October 2026, and the page is futex_unqueue_multiple(9) β mwah ππ
π¦ 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