Joe Orton <[EMAIL PROTECTED]> wrote:
> The patch also introduces a new problem: what if a previous process had
> created a shm segment with that key and a different size? You can't
> carry on regardless in that case.
Hmm. True. It may be better to destroy and re-create it.
> I don't understand from your previous mail why you can't use
> apr_shm_remove() before creating the shm segment at startup.
I only want the segment to be removed if nobody else is using it.
Will apr_shm_remove() fail if the segment is still in use?
Thanks,
Tyler