futex_unqueue_multiple(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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