aw_cache_allocator_t Struct Reference
#include <util.h>
Detailed Description
Use intializer to create object to malloc/free using a cache. This is useful for apps that malloc/free many times the same objects. Avoids the overhead of malloc/free and heap fragmentation. NOTE: objects must be at least sizeof(void *)! Suggest objects be at least 8 bytes for portability.
Functions for this object are not thread safe and applications should wrap access with locks if multiple threads need concurrent access.
Field Documentation
The documentation for this struct was generated from the following file:
Aware 0.11.1 Copyright (C) 1998-2005 Russell Leighton (russ@elegant-software.com)