cp_mempool

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

NAME

cp_shared_mempool_create, cp_shared_mempool_create_by_option - create a shareable memory pool instance

 

SYNOPSIS

#include <cprops/mempool.h>

cp_shared_mempool *cp_shared_mempool_create();
cp_shared_mempool *
      cp_shared_mempool_create_by_option(int mode,
                                         int size_hint,
                                         int page_count);

 

DESCRIPTION

cp_shared_mempool_create instantiates a non-synchronized shared memory pool object. cp_shared_mempool_create_by_option allows specifying a mode flag, a size hint for the number of pools to use internally, and the number of pages to allocate at a time in the internal pools.

 

RETURN VALUE

a newly allocated cp_shared_mempool object on success, or NULL on failure.

 

SEE ALSO

cp_shared_mempool_destroy(3), cp_shared_mempool_register(3), cp_shared_mempool_alloc(3), cp_shared_mempool_free(3), cp_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