cp_multimap_lock(3) - Linux man page
Name
cp_multimap_lock, cp_multimap_rdlock, cp_multimap_wrlock, cp_multimap_unlock - multimap locking functions
Synopsis
#include <cprops/multimap.h>
int cp_multimap_lock(cp_multimap *tree, int type);
int cp_multimap_rdlock(cp_multimap *tree);
int cp_multimap_wrlock(cp_multimap *tree);
int cp_multimap_unlock(cp_multimap *tree);
Description
cp_multimap_lock and cp_multimap_unlock provide locking for maps not initialized with the
COLLECTION_MODE_NOSYNC mode bit set. cp_multimap_rdlock and cp_multimap_wrlock are aliases for cp_multimap_lock with a type
parameter of COLLECTION_LOCK_READ and COLLECTION_LOCK_WRITE respectively.
Return Value
locking functions return 0 on success, non-zero on error.
Referenced By
cp_multimap(3)