Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6mempool.h File Reference
#include "p6com.h"

Go to the source code of this file.

Classes

interface  P6R::p6IMemPool
 
class  P6R::typedMemPool< T >
 

Namespaces

 P6R
 

Macros

#define COMP_p6MemPool   {0xD521E1E5,0x5A61,0x47c0,{0x93,0x1A,0x00,0x3A,0xF5,0xD6,0x13,0xA0}}
 
#define IF_p6IMemPool   {0x3FE25F49,0x9400,0x4aec,{0x9D,0x8C,0xE8,0x37,0x47,0xC1,0x0F,0x6C}}
 
#define INTERFACE   p6IMemPool
 
#define MEMPOOL_FREE_VALUE   0xdd
 
#define P6MEMPOOL_NAME_MAX   32
 

Typedefs

typedef P6UINT32 P6R::MEMPOOLFLGS
 

Variables

const MEMPOOLFLGS P6R::MEMPOOL_ENABLEFENCES = 0x00000008
 
const MEMPOOLFLGS P6R::MEMPOOL_NOFLAGS = 0x00000000
 
const MEMPOOLFLGS P6R::MEMPOOL_NOLOCKS = 0x00000010
 
const MEMPOOLFLGS P6R::MEMPOOL_SETFREEMEM = 0x00000004
 
const MEMPOOLFLGS P6R::MEMPOOL_USEHEAP = 0x00000002
 
const MEMPOOLFLGS P6R::MEMPOOL_ZEROMEM = 0x00000001
 

Detailed Description

Fixed-size, pool based, memory allocator.

Memory pools are very useful in providing very fast and predictable allocation and de-allocation if the alocation requirements are known a priori.

Definition in file p6mempool.h.