apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander Striker" <s.stri...@striker.nl>
Subject RE: Apr memory system extension, cleanup types
Date Thu, 10 May 2001 21:06:40 GMT
Please ignore the last posted patch, it had a flaw.
This one is the correct one.

> Hi,
> 
> I guessed these would be needed anyway, so I did a simple
> implementation of associating a type with cleanup functions.
> 
> Now you can run all registered cleanup functions of a
> certain type in one call. Guess this comes in handy when
> trying to implement pools in terms of a memory system.
> 
> One small warning: all registered cleanup functions will
> be called and unregistered by apr_memory_system_reset()
> and apr_memory_system_destroy() regardless of type.
> 
> Sander
> 
Mime
View raw message