#include <containers.h>
Inheritance diagram for ucommon::linked_allocator< T >:
Public Member Functions | |
T * | get (timeout_t timeout) |
T * | get (void) |
linked_allocator (size_t size) | |
void | release (T *node) |
~linked_allocator () |
This allocates the object pool in a single array as a single heap allocation, and releases the whole pool with a single delete when done. It is also threadsafe. The types used must be derived of LinkedObject.
Definition at line 397 of file containers.h.