MEMPOOL_DESTROY

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

mempool_destroy - deallocate a memory pool  

SYNOPSIS

"SYNOPSIS"

void mempool_destroy (mempool_t * pool);  

ARGUMENTS

pool
pointer to the memory pool which was allocated via mempool_create.
 

DESCRIPTION

this function only sleeps if the free_fn function sleeps. The caller has to guarantee that all elements have been returned to the pool (ie: freed) prior to calling mempool_destroy.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:29 GMT, October 09, 2005