dictReleaseLock(3)
β¨ dictReleaseLock β NAME β¨
okay bestie, gather round, because this one is short but it's important π
dictReleaseLock β release lock on value. that's it. that's the whole job. she's a one-task queen π
(it lives in the util/dict.h manual, iykyk π¦)
π SYNOPSIS π
#include <util/dict.h>
void dictReleaseLock(dictCtx dict, void *lock);
no cap, that's the entire signature. two args, zero drama, returns nothing π«Ά
πΈ ARGUMENTS πΈ
dictβ the dictionary that's holding the value you wanna release. she's the container, she's the vibe πlockβ the lock to release. the actual thing you're letting go of β¨
π DESCRIPTION π
so here's the tea π: this function releases the lock on the value that's associated with lock. that's literally her whole thing.
and once that lock is released? the dictCleanupFunc callback can be called for the value π (peep dictCleanup() if you wanna know more, bestie).
MT-Level: Safe if dict is thread-safe. no cap, that's the whole caveat π₯
not me making you read a caveat but like. read the caveat. MT-level conditions are not a vibe check you can skip π
π RETURN VALUE π
None. nothing. nada. she gives you zero back, she just does π
π¦ SEE ALSO π¦
your reading list, bestie, go off:
dictDestroy(3)dictCleanup(3)dictReleaseLock(3)dictRemove(3)dictNext(3)dictCreate(3)dictSetValue(3)dictModifyValue(3)dictSearch
and that's the whole page, angel π this little icon came from ClearSilver, dated 12 July 2007 β yes she's vintage, yes she still slays, periodt πβ¨π
π¦ 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