cWait(3)
β¨ NAME β¨
cWait - wait a condition variable signal. π
okay bestie, this is cWait(3), and it lives in util/ulocks.h. section 3 energy. π¦
π SYNOPSIS π
the include and the signature, verbatim, no cap:
#include <util/ulocks.h>
NEOERR *cWait(pthread_cond_t *cond, pthread_mutex_t *mutex);
π ARGUMENTS π
condβ condition variable to wait on. the thing you're waiting on, periodt.mutexβ locked mutex to protect<cond>. π locked, bestie, don't forget.
π DESCRIPTION π
Waits for a signal on condition variable <cond>. The mutex <mutex> must be locked by the thread. π
MT-Level: Safe. β
π RETURN VALUE π
None. π that's it, that's the whole vibe.
π SEE ALSO π
go read these too, bestie:
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.
ClearSilver β’ 12 July 2007 β that's the source and date for this cWait(3) page, bestie. stay slay. π
π¦ 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