rt_mutex_lock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rt_mutex_lock (9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this is a page straight out of rt_mutex_lock(9) and it's genuinely a whole vibe. it's short, it's sweet, it locks a mutex, it ate. let's get into it 🫢


✨ NAME ✨

rt_mutex_lock β€” literally just locks an rt_mutex, no cap, that's the entire personality πŸŽ€

✨ SYNOPSIS ✨

void rt_mutex_lock (struct rt_mutex *lock );

like, look at her. void return, one pointer, zero drama πŸ’…

✨ ARGUMENTS ✨

  • lock β€” the rt_mutex that's about to get locked. that's it. that's the argument. hand her the mutex and she'll take care of the rest πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

okay so the kernel file for this one lives at ./kernel/locking/rtmutex_api.c β€” icon behavior, honestly β€” and here's the whole friend group, all of them also (9) pages, all of them worth a look:

lowkey a whole squad of rt_mutex functions β€” iykyk 🌈

and that's the page, bestie!! βœ¨πŸ’– this little drop came to you from ./kernel/locking, dated October 2026 β€” mwah, go forth and lock responsibly 🧚🌸

πŸ“¦ where this page comes from