RE: Apache shared memory implementation

2011-11-16 Thread Pranesh Vadhirajan
[email protected] Subject: Re: Apache shared memory implementation You have some problems with the pointers. You should have void *shm_base; and then set_shared_region(void **base) { ... *base = mmap(...); if (*base == MAP_FAILED) { ... } ... } set_shared_region(&shm_base);

Apache shared memory implementation

2011-11-16 Thread Pranesh Vadhirajan
Hello Everyone, I am trying to understand how to implement sharing of objects in memory between various processes in apache. I have been using the routines defined in to implement the shared memory mapping functionality. However, I am not seeing any actual sharing of the objects in my outpu