apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amit Athavale <amit_athav...@persistent.co.in>
Subject Re: apr_shm_attach() and APR_EEXIST
Date Fri, 28 May 2004 11:38:17 GMT
Here is initial patch:

- only for unix, if this OK I will write for other platforms
- Tested on linux RH 8.0 and solaris 9
- New test case added in testshm.c

Please review it so I can provide patch for other platforms ASAP.

Thanks
Amit

Joe Orton wrote:

>On Fri, May 28, 2004 at 12:31:37PM +0530, Amit Athavale wrote:
>  
>
>>It would be very useful for programmers. They could simply do one of the
>>following to avoid headaches of admins :)
>>
>>- call apr_shm_remove right before apr_shm_create()
>>- detect unclean shutdown case and call apr_shm_remove()
>>
>>I could prepare a patch for this if people are happy with this idea ;)
>>    
>>
>
>Great, yes please!
>
>joe
>
>  
>


Mime
View raw message