Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

blockpool.cpp File Reference

This file contains the class functions for a "pool" based memory allocator. More...

#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include "blockpool.h"

Go to the source code of this file.


Detailed Description

This file contains the class functions for a "pool" based memory allocator.

These functions manage the block chain that makes up the memory pool and allocates memory from the individual blocks. The entire pool is freed at once.

The pool allocator was originally written as a low level allocation package. The original package queries the system to find the page size and allocation block size. This version has been simplified, but some of the low level nature remains.

The documentation in this file is formatted for doxygen (see www.doxyeng.org).

Copyright and Use

You may use this source code without limitation and without fee as long as you include: This software was written and is copyrighted by Ian Kaplan, Bear Products International, www.bearcave.com, 2002.

This software is provided "as is", without any warranty or claim as to its usefulness. Anyone who uses this source code uses it at their own risk. Nor is any support provided by Ian Kaplan and Bear Products International.

Please send any bug fixes or suggested source changes to:

     iank@bearcave.com

Author:
Ian Kaplan

Definition in file blockpool.cpp.


Generated at Tue May 27 21:56:16 2003 for Wavelet compression, determinism and time series forecasting by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001