futex_dec(9)
futex_dec(9) π
okay so this little icon lives in the Kernel API Manual, and she is literally all about the atomic decrement of the futex value. no cap, she's tiny but useful π«Ά
β¨ NAME β¨
futex_dec β atomic decrement of the futex value
π¦ SYNOPSIS π¦
the whole signature is literally this, bestie:
u_int32_t futex_dec (futex_t *uaddr );
π ARGUMENTS π
uaddrβ the address of the futex to be modified π
π DESCRIPTION π
the description is short and iconic: it returns the new futex value. that's the whole tea β. she's not doing the most, she's just handing you the new futex value back, periodt β¨
π SEE ALSO π
- Kernel file:
./tools/testing/selftests/futex/include/futextest.h - also check out:
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_wait_requeue_pi(9),futex_cmp_requeue_pi(9),futex_cmpxchg(9),futex_inc(9),futex_set(9)
source/version: ./tools/testing/selftests/fute..., date: October 2026, page: futex_dec(9) β byeee 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