memory_block::block_list Class Reference

Collaboration diagram for memory_block::block_list:

Collaboration graph
[legend]
List of all members.

Detailed Description

A helper class for block_pool<T...>, (a heap of T objects), and which contains one of these lists.

This list class allocates (typeless) blocks of chips from its pool_of_blocks. It may also release blocks to that pool_of_blocks if it finds that the blocks aren't needed. Slow acquire checks for the ability to release before it delivers one.

NOTE: chip_size, chip_count and block_size are fixed for any given list. Acquire, acquire_block and release occur one entity (chip or block) at a time.

Definition at line 305 of file mem_block.h.

Public Member Functions

void dump () const
size_t pool_freelist_size () const


The documentation for this class was generated from the following file:
Generated on Mon Jan 2 15:14:29 2012 for Shore Storage Manager by  doxygen 1.4.7