Flutter Engine
The Flutter Engine
|
A thread-safe pool with a limited byte size. More...
#include <pool.h>
Public Member Functions | |
Pool (uint32_t limit_bytes) | |
std::shared_ptr< T > | Grab () |
void | Recycle (std::shared_ptr< T > object) |
uint32_t | GetSize () const |
A thread-safe pool with a limited byte size.
T | The type that the pool will contain. |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
Definition at line 32 of file pool.h.