Main Page | Modules | Data Structures | File List | Data Fields

pool Struct Reference
[Ab protocol internals]

A pool is a set of pre-allocated chunks of memory. More...

#include <ab.h>


Data Fields

sem_t size
 Semaphore indicates the number of free elements.

pool_elhead
 The first element.


Detailed Description

A pool is a set of pre-allocated chunks of memory.

Basic implementation, uses a pointer to the first allocated chunk of memory, and a semaphore that indicated the number of free elements

Definition at line 216 of file ab.h.


The documentation for this struct was generated from the following file:
Generated on Wed Mar 9 15:34:01 2005 for Alternating Bit by doxygen 1.3.7