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

Attachment: apr_sms.patch
Description: Binary data

Reply via email to