libcopp
1.1.0
|
memory allocator this allocator will create buffer using gcc split segment api More...
#include <stack_allocator_split_segment.h>
Public Member Functions | |
stack_allocator_split_segment () UTIL_CONFIG_NOEXCEPT | |
~stack_allocator_split_segment () | |
void | allocate (stack_context &, std::size_t) UTIL_CONFIG_NOEXCEPT |
void | deallocate (stack_context &) UTIL_CONFIG_NOEXCEPT |
memory allocator this allocator will create buffer using gcc split segment api
Definition at line 23 of file stack_allocator_split_segment.h.
copp::allocator::stack_allocator_split_segment::stack_allocator_split_segment | ( | ) |
Definition at line 36 of file stack_allocator_split_segment.cpp.
copp::allocator::stack_allocator_split_segment::~stack_allocator_split_segment | ( | ) |
Definition at line 38 of file stack_allocator_split_segment.cpp.
void copp::allocator::stack_allocator_split_segment::allocate | ( | stack_context & | ctx, |
std::size_t | size | ||
) |
allocate memory and attach to stack context [standard function]
ctx | stack context |
size | stack size of unit |
Definition at line 40 of file stack_allocator_split_segment.cpp.
void copp::allocator::stack_allocator_split_segment::deallocate | ( | stack_context & | ctx | ) |
deallocate memory from stack context [standard function]
ctx | stack context |
Definition at line 54 of file stack_allocator_split_segment.cpp.