rt_mutex_base_is_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

rt_mutex_base_is_locked β€” is the rtmutex locked

okay so bestie, this is the rt_mutex_base_is_locked(9) page from the Kernel API Manual, and it is literally here for one iconic little question: is the rtmutex locked or not? πŸ’…βœ¨


✨ SYNOPSIS ✨

bool rt_mutex_base_is_locked (struct rt_mutex_base *lock );

🫢 ARGUMENTS 🫢

  • lock β€” the mutex to be queried, bestie. that's the whole assignment. πŸŽ€

πŸ”₯ DESCRIPTION πŸ”₯

Returns true if the mutex is locked, and false if it's unlocked. that's it. that's the vibe check. βœ…πŸ’–


🌈 SEE ALSO 🌈

  • Kernel file ./include/linux/rtmutex.h β€” go peek, iykyk πŸ¦‹

mwah πŸ’‹ signing off from ./include/linux β€” October 2026 β€” with rt_mutex_base_is_locked(9) energy, no cap πŸŽ€βœ¨

πŸ“¦ where this page comes from