queued_rwlock_is_contended(9)
π 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 thestruct qrwlock *you're handing over π
π₯ RETURN π₯
1β if lock contended0β otherwise
lowkey straightforward: contended gets 1, otherwise gets 0 β
π¦ SEE ALSO π¦
Kernel file ./include/asm-generic/qrwlock.h β go read these next, bestie:
queued_read_trylock(9)queued_write_trylock(9)queued_read_lock(9)queued_write_lock(9)queued_read_unlock(9)queued_write_unlock(9)
mwah π this page is from ./include/asm-generic, dated October 2026 β catch you in the kernel, 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