mLock(3)
π mLock(3) β the vibe check your mutex has been waiting for π
okay so bestie, quick little intro: this page lives in the util/ulocks.h manual, and it's all about locking one (1) mutex. that's it. that's the whole girl. but she's important, so let's get into it π«Ά
β¨ NAME β¨
mLock β lock a mutex. yes queen, that's literally the whole job description π
πΈ SYNOPSIS πΈ
#include <util/ulocks.h>
NEOERR *mLock(pthread_mutex_t *mutex);
look at her. so simple. so iconic. β¨
π ARGUMENTS π
mutexβ the mutex you wanna lock, bestie. hand it over. π«΄
π¦ DESCRIPTION π¦
So here's the tea, fr fr: mLock locks the mutex mutex. π
And listen β this call blocks until the mutex is actually acquired. like, it will just stand there in the group chat waiting for its turn, no matter how long that takes. it does not leave. it does not get distracted. it waits. π
MT-Level: Safe. β¨ she's thread-safe, she's well-adjusted, she's the moment. no cap.
π RETURN VALUE π
None. π nothing. nada. she locks the mutex and she does not give you a lil status report about it. that's just her energy.
π SEE ALSO π
her whole friend group, because they literally cannot function without each other, iykyk:
mCreate(3), fCreate(3), mUnlock(3), fUnlock(3), cBroadcast(3), cSignal(3), fFind(3), cDestroy(3), cCreate(3), mDestroy(3), cWait(3), fLock(3), fDestroy(3), mLock
and that's the page, bestie!! this absolute banger of a manpage comes courtesy of ClearSilver, dated 12 July 2007 β yeah she's vintage, she's classic, she's been serving lock energy since before some of us were born, and honestly? she ate. π β¨ππ¦
π¦ where this page comes from
- debian bookworm: clearsilver-dev 0.10.5-4+b5
- debian trixie: clearsilver-dev 0.10.5-6+b1
- epel 10: clearsilver 0.10.5-80.el10_2 Β· Apache-1.1
- epel 9: clearsilver 0.10.5-74.el9 Β· Apache-1.1
- fedora 43: clearsilver 0.10.5-80.fc43 Β· Apache-1.1
- fedora 44: clearsilver 0.10.5-82.fc44 Β· Apache-1.1
- ubuntu jammy: clearsilver-dev 0.10.5-4build3
- ubuntu noble: clearsilver-dev 0.10.5-4build7
- ubuntu questing: clearsilver-dev 0.10.5-6build1
- ubuntu resolute: clearsilver-dev 0.10.5-7
- ubuntu stonking: clearsilver-dev 0.10.5-7build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms