DOKK / manpages / debian 12 / clearsilver-dev / dictReleaseLock.3.en
dictReleaseLock(3) util/dict.h dictReleaseLock(3)

dictReleaseLock - release lock on value.

#include <util/dict.h>

void dictReleaseLock(dictCtx dict, void *lock);

dict - dictionary containing value to release.
lock - lock to release.

Releases the lock on the value associated with <lock>. Once the lock is released, the dictCleanupFunc callback can be called for the value (see dictCleanup()).

MT-Level: Safe if <dict> thread-safe.

None.

dictDestroy(3), dictCleanup(3), dictReleaseLock(3), dictRemove(3), dictNext(3), dictCreate(3), dictSetValue(3), dictModifyValue(3), dictSearch

12 July 2007 ClearSilver