mCreate(3)
π mCreate β like, the manual page for mCreate(3), bestie π
okay so picture this: you're in util/ulocks.h land, you got a mutex, and it's just sitting there being all uninitialized and embarrassing. mCreate is the glow-up. it wakes that mutex up and gets it ready to be its main character. β¨
πΈ NAME πΈ
mCreate β initialize a mutex. that's it, that's the whole job, and she does it flawlessly. π
π SYNOPSIS π
#include <util/ulocks.h>
NEOERR *mCreate(pthread_mutex_t *mutex);
like yes, one include, one function call. no cap, it's giving effortless. π¦
π ARGUMENTS π
mutexβ the mutex you wanna initialize. that's the one. hand her over and letmCreatedo her thing. π«Ά
β¨ DESCRIPTION β¨
Initializes the mutex mutex.
that's literally it. she takes your sad little uninitialized mutex and gives it a whole personality. π
MT-Level: Safe for unique mutex. translation: if it's your mutex and nobody else is touching it, you're chilling. this is the "unique mutex" vibe check and you passed. π
π RETURN VALUE π
None. nothing. nada. zero. she returns void of drama and honestly? iconic. not every function needs to hand you a little guy back. π
π₯ SEE ALSO π₯
the whole friend group, fr fr:
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 whole page, bestie!! this one came to you straight from ClearSilver, dated 12 July 2007 β yeah she's an elder but she ATE and she's still serving. go initialize that mutex. i'm obsessed with you. 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