WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIRecyclingAllocator

IID:d064a04c-9cee-4319-be31-64d565bccba9
Inherits From:nsIMemory
Status:UNDER-DEVELOPMENT

nsIRecyclingAllocator: A wrapper for the nsRecyclingAllocator

Holds allocations and reuses them for subsequent allocs. Thread safe and uses a timer to release freelist.

This interface is implemented by the following components:


Methods

void init ( size_t nblocks , size_t recycleAfter , char* id )

void init ( size_t nblocks , size_t recycleAfter , char* id )

Arguments:
nblocks
recycleAfter
id

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com