apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander Striker" <stri...@samba-tng.org>
Subject Apr memory system extension, cleanup types
Date Thu, 10 May 2001 20:47:15 GMT

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.


View raw message