| 779 | AwaitEventLoop* AwaitTask::Promise::findEventLoop(AwaitEventLoop& await) { return &await; } |
| 780 | |
| 781 | void* AwaitTask::Promise::allocateFrame(size_t size, AwaitEventLoop* eventLoop) noexcept |
| 782 | { |
| 783 | constexpr size_t alignment = AwaitFrameAlignment; |
| 784 | if (eventLoop == nullptr) |
| 785 | { |
| 786 | return nullptr; |
| 787 | } |
| 788 | return eventLoop->allocator().allocate(nullptr, size, alignment); |
| 789 | } |
| 790 | |
| 791 | void AwaitTask::Promise::deallocateFrame(void* frame) noexcept |
| 792 | { |