YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
yaclib::detail::fiber::IStackAllocator Class Referenceabstract

Passed to coroutine/fiber constructor, specifies the way in which memory for Stack is Allocated and Released. More...

#include <stack_allocator.hpp>

Inheritance diagram for yaclib::detail::fiber::IStackAllocator:
[legend]

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
 

Detailed Description

Passed to coroutine/fiber constructor, specifies the way in which memory for Stack is Allocated and Released.

See also
Stack

Definition at line 17 of file stack_allocator.hpp.

Constructor & Destructor Documentation

◆ ~IStackAllocator()

virtual yaclib::detail::fiber::IStackAllocator::~IStackAllocator ( )
virtualdefault

Member Function Documentation

◆ Allocate()

virtual Allocation yaclib::detail::fiber::IStackAllocator::Allocate ( )
pure virtual

◆ GetMinStackSize()

virtual std::size_t yaclib::detail::fiber::IStackAllocator::GetMinStackSize ( )
pure virtual

◆ Release()

virtual void yaclib::detail::fiber::IStackAllocator::Release ( Allocation  )
pure virtual

◆ SetMinStackSize()

virtual void yaclib::detail::fiber::IStackAllocator::SetMinStackSize ( std::size_t  bytes)
pure virtual

The documentation for this class was generated from the following file: