cp_mempool

Section: libcprops - cp_mempool (3)
Updated: SEPTEMBER 2006
Index Return to Main Contents
 

NAME

cp_mempool_inc_refcount - increase the reference count on a memory pool

 

SYNOPSIS

#include <cprops/mempool.h>

int cp_mempool_inc_refcount(cp_mempool *pool);

 

DESCRIPTION

cp_mempool_inc_refcount increases the reference count on a memory pool. This is used internally by cp_shared_mempool(3) to coordinate the sharing of a memory pool between otherwise uncoordinated clients.

 

RETURN VALUE

zero on success or non-zero on locking failure if COLLECTION_MODE_NOSYNC is not set.

 

SEE ALSO

cp_mempool_create(3), cp_mempool_alloc(3), cp_mempool_free(3), cp_mempool_destroy(3), cp_shared_mempool(3)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 17:58:11 GMT, September 08, 2006
SourceForge.net Logo