mutex_is_locked(9)
π NAME π
mutex_is_locked β is the mutex locked
okay so bestie, this is mutex_is_locked(9) from the Kernel API Manual, and it is literally here to answer one iconic question: is the mutex locked or not? π
β¨
β¨ SYNOPSIS β¨
bool mutex_is_locked (struct mutex *lock );
π ARGUMENTS π
lockβ the mutex to be queried
π¦ DESCRIPTION π¦
Returns true if the mutex is locked, and false if itβs unlocked. Thatβs the whole vibe check, no cap. π
πΈ SEE ALSO πΈ
- Kernel file
./include/linux/mutex.h mutex_init(9)mutex_init_with_key(9)
mwah π«Ά this little page comes from ./include/linux, dated October 2026, and itβs signing off as mutex_is_locked(9) β periodt. ππ
π¦ 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