Proton
1.1.1
Make porting easy from Python to C++11
|
seg contains many pools for a same size range. More...
#include <proton/pool.hpp>
Public Member Functions | |
void * | malloc_one () |
alloc a block |
Protected Member Functions | |
void | malloc_block () |
get a new pool_block |
Protected Attributes | |
size_t | _chunk_size |
0 means: new directly | |
size_t | _chunk_min_size |
_chunk_min_size <= real_size <=_chunk_size |