The scheduler must outlive every frame allocated from its pool.
More...
#include "donner/base/tasks/CoroutineFramePool.h"
|
| | CoroutineFramePool (std::size_t maxRetainedBytes) |
|
| CoroutineFramePool (const CoroutineFramePool &)=delete |
|
CoroutineFramePool & | operator= (const CoroutineFramePool &)=delete |
|
void * | allocate (std::size_t frameBytes) |
|
void | trackFrame () noexcept |
|
void | untrackFrame () noexcept |
|
void | assertNoLiveFrames () |
|
|
static void | Release (void *frame, std::size_t frameBytes) noexcept |
|
|
class | TaskSchedulerTestPeer |
The scheduler must outlive every frame allocated from its pool.
◆ CoroutineFramePool()
| donner::tasks::CoroutineFramePool::CoroutineFramePool |
( |
std::size_t | maxRetainedBytes | ) |
|
|
inlineexplicit |
- Parameters
-
| maxRetainedBytes | Maximum requested heap bytes held free, including trailers and padding, before allocator overhead. |
The documentation for this class was generated from the following file: