Graham Leggett wrote:

Hi all,

I need a bit of handholding with the allocation of shared memory
segments in APR. A couple of questions:

- Is the reqsize parameter in apr_shm_init() optional? In other words
does this follow the behavior of the MM library where if the value is
set to zero it defaults to the maximum possible size with a soft maximum
of 64MB?

- Is the setting of the shared memory segment name using
apr_shm_name_get() and apr_shm_name_set() optional or mandatory?

I don't these 2 do anything on unix.
infact I think shmem on unix is all anonymous (at the moment)


I would like to use apr_shm_name_set() to give a particular segement a name, but it's not clear in the APR header docs as to whether this is possible on all platforms, or whether on some platforms only anonymous shared memory is possible.

only anon.
the parent needs to create it, and the handle gets passed down to it's children.



Regards, Graham -- ----------------------------------------- [EMAIL PROTECTED] "There's a moon over Bourbon Street tonight..."






Reply via email to