#include <sparingStack.h>
Public Methods | |
CommonPoolOfBlocks () | |
The default constructor. | |
~CommonPoolOfBlocks () | |
The destructor. | |
Block * | request () |
Returns a pointer to a free block. | |
void | release (Block *block) |
Adds a block which is no longer used to the free-list. | |
void | increaseReserveMemory (int newMemory) |
Informs that more reserve memory is available. |
It can be used by several SparingStacks.
Definition at line 21 of file sparingStack.h.
|
The destructor. Blocks which have been created additionally are deleted. Definition at line 104 of file sparingStack.h. |
|
Informs that more reserve memory is available.
Definition at line 164 of file sparingStack.h. Referenced by Buckets< nodesPerBucket >::reduceNodes(). |