YACLib
C++ library for concurrent tasks execution
|
Allocator used by default. More...
#include <default_allocator.hpp>
Public Member Functions | |
Allocation | Allocate () final |
void | Release (Allocation allocation) final |
void | SetMinStackSize (std::size_t pages) noexcept final |
std::size_t | GetMinStackSize () noexcept final |
Public Member Functions inherited from yaclib::detail::fiber::IStackAllocator | |
virtual | ~IStackAllocator ()=default |
Static Public Member Functions | |
static void | SetCacheSize (std::uint32_t size) noexcept |
Allocator used by default.
Definition at line 14 of file default_allocator.hpp.
|
finalvirtual |
Implements yaclib::detail::fiber::IStackAllocator.
Definition at line 15 of file default_allocator.cpp.
References yaclib::MakeContract(), and YACLIB_DEBUG.
|
finalvirtualnoexcept |
Implements yaclib::detail::fiber::IStackAllocator.
Definition at line 55 of file default_allocator.cpp.
|
finalvirtual |
Implements yaclib::detail::fiber::IStackAllocator.
Definition at line 32 of file default_allocator.cpp.
References yaclib::MakeContract(), and YACLIB_DEBUG.
|
staticnoexcept |
Definition at line 59 of file default_allocator.cpp.
References yaclib::MakeContract().
Referenced by yaclib::fiber::SetStackCacheSize().
|
finalvirtualnoexcept |
Implements yaclib::detail::fiber::IStackAllocator.
Definition at line 45 of file default_allocator.cpp.
References yaclib::MakeContract().