#include <pool.h>
Definition at line 70 of file pool.h.
MultiAllocSingleReleasePool::MultiAllocSingleReleasePool |
( |
std::string |
name, |
|
|
unsigned long |
item_size, |
|
|
unsigned long |
nitems |
|
) |
| |
MultiAllocSingleReleasePool::~MultiAllocSingleReleasePool |
( |
| ) |
|
void * MultiAllocSingleReleasePool::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 108 of file pool.cc.
void MultiAllocSingleReleasePool::release |
( |
void * |
ptr | ) |
|
|
virtual |
Release an item's memory by writing its location to the free list
Reimplemented from Pool.
Definition at line 117 of file pool.cc.
Glib::Threads::Mutex MultiAllocSingleReleasePool::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