YACLib
C++ library for concurrent tasks execution
|
Passed to coroutine/fiber constructor, specifies the way in which memory for Stack is Allocated and Released. More...
#include <stack_allocator.hpp>
Public Member Functions | |
virtual Allocation | Allocate ()=0 |
virtual void | Release (Allocation)=0 |
virtual void | SetMinStackSize (std::size_t bytes)=0 |
virtual std::size_t | GetMinStackSize ()=0 |
virtual | ~IStackAllocator ()=default |
Passed to coroutine/fiber constructor, specifies the way in which memory for Stack is Allocated and Released.
Definition at line 17 of file stack_allocator.hpp.
|
virtualdefault |
|
pure virtual |
Implemented in yaclib::detail::fiber::DefaultAllocator.
|
pure virtual |
Implemented in yaclib::detail::fiber::DefaultAllocator.
|
pure virtual |
Implemented in yaclib::detail::fiber::DefaultAllocator.
Referenced by yaclib::detail::fiber::Stack::operator=(), and yaclib::detail::fiber::Stack::~Stack().
|
pure virtual |
Implemented in yaclib::detail::fiber::DefaultAllocator.
Referenced by yaclib::fiber::SetStackSize().