apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander Striker" <stri...@samba-tng.org>
Subject [PATCH] sms blocks
Date Thu, 14 Jun 2001 10:22:20 GMT
Hi,

This patch implements getting memory from the parent if
the preallocated block is exhausted. There is one catch:
memory freed with apr_sms_free is recycled as if it were
a block of the given fixed size (passed in at create).
To actually free this 'external' memory, use reset (or
destroy, but that is a given).

To avoid duplicating the alignment stuff everywhere in
the smss I've added some macros to apr_sms.h.

Sander

Mime
View raw message