futex_wait_requeue_pi(9)
Okay bestie, this is futex_wait_requeue_pi(9) from the Kernel API Manual β and it is literally the setup half of the requeue_pi situation. π
β¨
π NAME π
futex_wait_requeue_pi β block on uaddr and prepare to requeue to uaddr2
β¨ SYNOPSIS β¨
int futex_wait_requeue_pi (futex_t *uaddr , futex_t
*uaddr2 , struct timespec *timeout , int opflags );
π¦ ARGUMENTS π¦
uaddrβ non-PI futex source. Thatβs the vibe.valβ the page literally says-- undescribed --π no extra lore given.uaddr2β PI futex target. Main character target energy.timeoutβ also-- undescribed --. The manpage is gatekeeping, ngl.opflagsβ yep,-- undescribed --again. π
π DESCRIPTION π
This is the first half of the requeue_pi mechanism. It shall always be paired with futex_cmp_requeue_pi β periodt, do not run it solo. π«Ά
π SEE ALSO π
The futex fam and friends, fr fr:
- 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_requeue(9)futex_cmp_requeue(9)futex_cmp_requeue_pi(9)futex_cmpxchg(9)futex_dec(9)futex_inc(9)futex_set(9)
Signed, sealed, delivered: futex_wait_requeue_pi(9), from the ./tools/testing/selftests/fute... source/version, dated October 2026. Stay futexy, bestie ππΈ
π¦ 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