mUnlock(3)
β¨ mUnlock(3) β¨
okay bestie, welcome to the mUnlock page from section 3 of the manual β it lives in util/ulocks.h and it is so important for your multithreaded girlies out there π
πΈ NAME πΈ
mUnlock β unlock a mutex. that's it. that's the whole job. she's simple, she's reliable, she's the friend who holds your bag while you go get snacks π«Ά
π SYNOPSIS π
#include <util/ulocks.h>
NEOERR *mUnlock(pthread_mutex_t *mutex);
π¦ ARGUMENTS π¦
mutexβ the mutex you're unlocking. literally just hand her over and she'll let her go π
π DESCRIPTION π
Unlocks the mutex mutex. she's releasing the lock, giving it back to the world, letting the other threads have their moment β¨
MT-Level: Safe.
that means it's safe to call from multiple threads, no cap. she was built for this life π
π₯ RETURN VALUE π₯
None. nothing. nada. she doesn't return anything, she just does it. main character energy, no receipts needed π
π SEE ALSO π
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
like honestly go read all of these, they're all part of the same little lock family and they all eat π
k byeee, this page is brought to you by ClearSilver, dated 12 July 2007 β vintage but still iconic, fr fr πβ¨πΈ
π¦ 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