httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Wulms <>
Subject Re: Question about APR SHM
Date Thu, 05 Aug 2010 09:05:02 GMT
Op 31-07-10 18:07, Alex Wulms schreef:
> Hi,
> I have got a question about APR SHM. The comments of the function
> apr_shm_baseaddr_get(const apr_shm_t *m) indicate that the resulting
> address is only valid in the callers address space, since the API does
> not guarantee that other attaching processes will maintain the same
> address mapping.
> ...

In order to play it safe, I have made my code function completely on top
of the RMM  (relocatable memory management) API already present in APR.

As a side-product, I have written a re-usable RMM hash table (derived
from apr_hash.c). You can find the code in the GIT repository located here:

It concerns files crccache/rmm_hash.h and crccache/rmm_hash.c in the

Please feel free to include them in a future version of APR.

Kind regards,

View raw message