rt_mutex_lock(9)
π 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β thert_mutexthat'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:
rt_mutex_lock_nested(9)rt_mutex_lock_interruptible(9)rt_mutex_lock_killable(9)rt_mutex_trylock(9)rt_mutex_unlock(9)__rt_mutex_futex_unlock(9)__rt_mutex_init(9)rt_mutex_init_proxy_locked(9)rt_mutex_proxy_unlock(9)__rt_mutex_start_proxy_lock(9)rt_mutex_start_proxy_lock(9)rt_mutex_wait_proxy_lock(9)rt_mutex_cleanup_proxy_lock(9)
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
- 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