futex_requeue(9)
β¨ futex_requeue(9) β Kernel API Manual β¨
okay so welcome to the Kernel API Manual, bestie, and specifically to the futex_requeue(9) page. grab your iced coffee π§ because this one is short, a little cursed, and extremely deprecated.
π NAME π
futex_requeue - requeue without expected value comparison, deprecated. yes, βdeprecatedβ is right there in the NAME section, so thatβs the vibe check and it did not pass π
β¨ SYNOPSIS β¨
int futex_requeue (futex_t *uaddr , futex_t *uaddr2 , int nr_wake , int
nr_requeue , int opflags );
π ARGUMENTS π
uaddrβ the page literally says-- undescribed --, so we are not out here inventing lore. thatβs the whole description, bestie π«Άuaddr2β also literally-- undescribed --. iconic? maybe not, but we respect the honesty πnr_wakeβ wake up to this many tasks β¨nr_requeueβ requeue up to this many tasks πopflagsβ yep,-- undescribed --again. no cap, thatβs what the page gives us π
π¦ DESCRIPTION π¦
Due to its inherently racy implementation, futex_requeue is deprecated in favor of futex_cmp_requeue.
bestie, thatβs the actual warning energy: itβs inherently racy and deprecated. use futex_cmp_requeue instead, fr fr π¨
πΈ SEE ALSO πΈ
- Kernel file
./tools/testing/selftests/futex/include/futextest.h futex(9)futex_wait(9)futex_wake(9)futex_wait_bitset(9)futex_wake_bitset(9)futex_lock_pi(9)futex_unlock_pi(9)futex_wake_op(9)futex_cmp_requeue(9)futex_wait_requeue_pi(9)futex_cmp_requeue_pi(9)futex_cmpxchg(9)futex_dec(9)futex_inc(9)futex_set(9)
cute sign-off time: this pageβs source/version footer is ./tools/testing/selftests/fute..., itβs dated October 2026, and the page tag is futex_requeue(9). slay, stay safe, and maybe use the non-deprecated one ππ
π¦ 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