#include <PionPoolAllocator.hpp>
Definition at line 178 of file PionPoolAllocator.hpp.
Public Member Functions | |
FixedSizeAlloc (std::size_t size) | |
Public Attributes | |
boost::mutex | m_mutex |
used to protect access to the memory pool | |
std::size_t | m_size |
size of memory blocks managed by this allocator, in bytes | |
boost::pool | m_pool |
underlying pool allocator used for memory management | |
FreeListPtr | m_free_ptr |
pointer to a list of free nodes (for lock-free cache) |
pion::PionPoolAllocator< MinSize, MaxSize >::FixedSizeAlloc::FixedSizeAlloc | ( | std::size_t | size | ) | [inline] |
constructs a new fixed-size pool allocator
size | size of memory blocks managed by this allocator, in bytes |
Definition at line 185 of file PionPoolAllocator.hpp.