Explicit allocator for future fiber scheduler storage. More...
#include <Fibers.h>
Public Member Functions | |
| FiberAllocator (const FiberAllocator &)=delete | |
| FiberAllocator & | operator= (const FiberAllocator &)=delete |
| FiberAllocator (FiberAllocator &&)=delete | |
| FiberAllocator & | operator= (FiberAllocator &&)=delete |
| Result | createFixed (Span< char > storage) |
| Result | createVirtual (FiberAllocatorVirtualOptions options) |
| Result | createMalloc () |
| Result | createPolymorphic (FiberAllocatorInterface &customAllocatorInterface) |
| Result | validateClose () const |
| Result | close () |
| void * | allocate (const void *owner, size_t numBytes, size_t alignment) |
| void | release (void *memory) |
| FiberAllocatorMode | mode () const |
| FiberAllocatorStatistics | 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 for future fiber scheduler storage.