mDestroy(3)
π mDestroy β bestie edition π
okay so you're in the util/ulocks.h part of the ClearSilver manual, section 3, and today's main character is mDestroy: the girl whose whole job is destroying a mutex. yes, destroying. she's the cleanup crew. the one who turns the lights off after the party. and honestly? iconic. π
β¨ NAME β¨
mDestroy β destroy a mutex. that's it. that's the whole personality. π
πΈ SYNOPSIS πΈ
#include <util/ulocks.h>
void mDestroy(pthread_mutex_t *mutex);
like, she takes one thing and returns nothing. very low maintenance. very demure. π
π¦ ARGUMENTS π¦
mutexβ the mutex you wanna destroy. that's the one. the target. say bye bestie π
π DESCRIPTION π
she destroys the mutex mutex that was initialized by mCreate(). like, mCreate() made it, mDestroy() un-makes it. the circle of life fr fr π§β¨
MT-Level: Safe for unique mutex.
bestie pls note the word unique β that's doing a lot of work in that sentence. read it twice. π«Ά
β RETURN VALUE β
None. nothing. nada. she does her thing and leaves. no receipts, no follow-up text. π
π SEE ALSO π
the whole friend group, go say hi:
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
okay that's the whole page, you ate that π and for the cute sign-off: this lil masterpiece is brought to you by ClearSilver, dated 12 July 2007, and no cap it has been serving mutex-destruction realness ever since. mwah πβ¨
π¦ 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