#include <pool.h>
Definition at line 56 of file pool.h.
SingleAllocMultiReleasePool::SingleAllocMultiReleasePool |
( |
std::string |
name, |
|
|
unsigned long |
item_size, |
|
|
unsigned long |
nitems |
|
) |
| |
SingleAllocMultiReleasePool::~SingleAllocMultiReleasePool |
( |
| ) |
|
void * SingleAllocMultiReleasePool::alloc |
( |
| ) |
|
|
virtual |
Allocate an item's worth of memory in the Pool by taking one from the free list.
- Returns
- Pointer to free item.
Reimplemented from Pool.
Definition at line 123 of file pool.cc.
void SingleAllocMultiReleasePool::release |
( |
void * |
ptr | ) |
|
|
virtual |
Release an item's memory by writing its location to the free list
Reimplemented from Pool.
Definition at line 129 of file pool.cc.
Glib::Threads::Mutex SingleAllocMultiReleasePool::m_lock |
|
private |
The documentation for this class was generated from the following files:
- /usr/local/music/src/ardour/4.0/libs/pbd/pbd/pool.h
- /usr/local/music/src/ardour/4.0/libs/pbd/pool.cc