queued_rwlock_is_contended(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay bestie, welcome to the queued_rwlock_is_contended(9) page from the Kernel API Manual ✨ this one is literally: queued_rwlock_is_contended β€” check if the lock is contended. tiny icon behavior, main character energy πŸ’…

✨ SYNOPSIS ✨

int queued_rwlock_is_contended (struct qrwlock *lock );

no cap, that's the exact signature β€” keep it character for character, bestie 🫢

🌸 ARGUMENTS 🌸

  • lock β€” Pointer to queued rwlock structure. yep, that's the struct qrwlock * you're handing over πŸ’–

πŸ”₯ RETURN πŸ”₯

  • 1 β€” if lock contended
  • 0 β€” otherwise

lowkey straightforward: contended gets 1, otherwise gets 0 ⭐

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/asm-generic/qrwlock.h β€” go read these next, bestie:


mwah πŸ’‹ this page is from ./include/asm-generic, dated October 2026 β€” catch you in the kernel, bestie πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from