At 5:20 PM +0000 12/13/02, Joe Orton wrote: >For the implementation of name-based apr_shm_create using shmget (i.e. >the filename != NULL case), I've got two questions: > >1) why is APR_EXCL passed to the apr_file_open call? This is annoying >for Apache since if the server crashes, you have to remove the shmem >segment *and* the filename before restarting. Patch below OK? >
Basically, it's a protection mechanism. Since each segment is backed up with a file, you want (and need) to ensure that APR has sole access/control over that file, hence the EXCL setting. -- =========================================================================== Jim Jagielski [|] [EMAIL PROTECTED] [|] http://www.jaguNET.com/ "A society that will trade a little liberty for a little order will lose both and deserve neither" - T.Jefferson
