|
Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
#include <memory_pool.h>
Public Member Functions | |
| fixed_pool (void *buf, size_t size) | |
| construct pool with underlying allocator More... | |
| ~fixed_pool () | |
| destroy pool More... | |
Public Member Functions inherited from tbb::interface6::internal::pool_base | |
| void | recycle () |
| Reset pool to reuse its memory (free all objects at once) More... | |
| void * | malloc (size_t size) |
| The "malloc" analogue to allocate block of memory of size bytes. More... | |
| void | free (void *ptr) |
| The "free" analogue to discard a previously allocated piece of memory. More... | |
| void * | realloc (void *ptr, size_t size) |
| The "realloc" analogue complementing pool_malloc. More... | |
Static Private Member Functions | |
| static void * | allocate_request (intptr_t pool_id, size_t &bytes) |
Private Attributes | |
| void * | my_buffer |
| size_t | my_size |
Additional Inherited Members | |
Protected Member Functions inherited from tbb::interface6::internal::pool_base | |
| void | destroy () |
| destroy pool - must be called in a child class More... | |
Protected Attributes inherited from tbb::interface6::internal::pool_base | |
| rml::MemoryPool * | my_pool |
Definition at line 202 of file memory_pool.h.
|
inline |
construct pool with underlying allocator
Definition at line 251 of file memory_pool.h.
References allocate_request(), tbb::interface6::internal::pool_base::my_pool, size, and tbb::internal::throw_exception().
|
inline |
destroy pool
Definition at line 211 of file memory_pool.h.
References tbb::interface6::internal::pool_base::destroy().
|
inlinestaticprivate |
Definition at line 260 of file memory_pool.h.
References __TBBMALLOC_ASSERT, and my_size.
Referenced by fixed_pool().
|
private |
Definition at line 203 of file memory_pool.h.
|
private |
Definition at line 204 of file memory_pool.h.
Referenced by allocate_request().