1#ifndef COMPA_FREE_LIST_HPP
2#define COMPA_FREE_LIST_HPP
66 int maxFreeListLength;
86 int maxFreeListLength);
int FreeListInit(FreeList *free_list, size_t elementSize, int maxFreeListLength)
Initializes Free List.
int FreeListFree(FreeList *free_list, void *element)
Returns an item to the Free List.
void * FreeListAlloc(FreeList *free_list)
Allocates chunk of set size.
int FreeListDestroy(FreeList *free_list)
Releases the resources stored with the free list.
Free list node. points to next free item.
Stores head and size of free list, as well as mutex for protection.
Additional functions to manage Posix threads with C++ to be portable.