cp_multimap
Section: libcprops - cp_multimap (3)
Updated: OCT 2007
Index
Return to Main Contents
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.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUE
-
This document was created by
man2html,
using the manual pages.
Time: 18:30:35 GMT, December 01, 2007