Eric,
Thanks for the explanation, I get it now.
I was hoping to avoid the design decision that I have to make now--deciding
beforehand what size of shared memory block to obtain. I had hoped that I
could simply allow the available resources be available to me, not wasting any
space with an ov
After further experimentation, I have determined that the shared memory code
does something unexpected (at least, to me). I have multiple processes {A..E}
that each ask for a block of memory using the apr_shm_create() call and convert
it to a Node. Each process requests the memory from the sam
For an example, you might look in apache trunk at
modules/aaa/mod_auth_digest.c. It uses shared memory to keep some
common tables across processes.
Dan
I am trying to dynamically obtain memory from a pool at runtime. No matter
how I tweak it, it does not seem to work correctly with multiple processes.
I have some code below that ouputs something odd--this is one of numerous
different tries, please do not worry too much about clever (or lack there