Re: Using apr_hash_t within shared memory

2012-03-21 Thread Nick Kew
On Wed, 21 Mar 2012 11:31:30 + Rajalakshmi Iyer 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 ha

Re: Using apr_hash_t within shared memory

2012-03-21 Thread Sorin Manolache
On 2012-03-21 12:31, Rajalakshmi Iyer 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. However, when I try to access the hash stored in the shared

Using apr_hash_t within shared memory

2012-03-21 Thread Rajalakshmi Iyer
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. However, when I try to access the hash stored in the shared memory, I get a segmentation fault (because th