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 |
Definition at line 43 of file pool.h.
Referenced by impeller::testing::TEST().
|
inline |
Definition at line 21 of file pool.h.
References impeller::interop::Create().
Referenced by impeller::testing::TEST().
|
inline |