httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <...@apache.org>
Subject Re: Using apr_hash_t within shared memory
Date Wed, 21 Mar 2012 13:26:16 GMT
On Wed, 21 Mar 2012 11:31:30 +0000
Rajalakshmi Iyer <raj@blismobile.com> wrote:

> Hello,
> 
> I want to be able to store a hash map (apr_hash_t) in the Apache shared
> memory (created using apr_shm_create). This map will be created once and
> will be shared by all child processes.

You can't.  Well, not unless you hack deep in APR to allocate from shm.

But you can achieve a shared hash using mod_socache.

-- 
Nick Kew

Mime
View raw message