Explicit allocator used by AwaitTask coroutine frame allocation. More...
#include <Await.h>
Public Member Functions | |
| AwaitAllocator (const AwaitAllocator &)=delete | |
| AwaitAllocator & | operator= (const AwaitAllocator &)=delete |
| AwaitAllocator (AwaitAllocator &&)=delete | |
| AwaitAllocator & | operator= (AwaitAllocator &&)=delete |
| Result | createFixed (Span< char > storage) |
| Result | createVirtual (AwaitAllocatorVirtualOptions options) |
| Result | createMalloc () |
| Result | createPolymorphic (AwaitAllocatorInterface &customAllocatorInterface) |
| Result | close () |
| void * | allocate (const void *owner, size_t numBytes, size_t alignment) |
| void | release (void *memory) |
| AwaitAllocatorMode | mode () const |
| AwaitAllocatorStatistics | statistics () const |
| bool | isOpen () const |
| size_t | used () const |
| size_t | capacity () const |
| size_t | peakUsed () const |
| size_t | failedAllocationSize () const |
| size_t | reservedBytes () const |
| size_t | committedBytes () const |
Static Public Member Functions | |
| static void | releaseFromAnyAllocator (void *memory) |
Explicit allocator used by AwaitTask coroutine frame allocation.