Re: Does apr_atomic_inc64 exist ?

2009-01-06 Thread Paul Querna
Daniel May wrote: Yes, I agree, the coverage is sparse. Under Windows you have: InterlockedIncrement64 But it is only supported under Windows Vista and Windows Server 2003 or later. In looking at /unix/apr_atomic.c, the 32-bit operations appear to be implemented as either inline asm, or br

RE: Does apr_atomic_inc64 exist ?

2009-01-06 Thread Daniel May
Yes, I agree, the coverage is sparse. Under Windows you have: InterlockedIncrement64 But it is only supported under Windows Vista and Windows Server 2003 or later. In looking at /unix/apr_atomic.c, the 32-bit operations appear to be implemented as either inline asm, or brute force using a mu

Re: Does apr_atomic_inc64 exist ?

2009-01-06 Thread Justin Erenkrantz
On Tue, Jan 6, 2009 at 7:17 AM, Daniel May wrote: > I am looking for a 64-bit counterpart to apr_atomic_inc32(). Has this been > implemented ? I don't believe that we've guaranteed 64-bit atomics anywhere. I'm not sure how much underlying OS/architecture support there would generically be for

Re: svn commit: r731965 - /httpd/httpd/trunk/modules/generators/mod_cgid.c

2009-01-06 Thread William A. Rowe, Jr.
Nick Kew wrote: > [crossposting because this httpd issue raises an APR issue] > > Jeff Trawick wrote: >> On Tue, Jan 6, 2009 at 10:05 AM, > > wrote: >> >> Author: trawick >> Date: Tue Jan 6 07:05:33 2009 >> New Revision: 731965 >> >> URL: http://svn.apac

Re: svn commit: r731965 - /httpd/httpd/trunk/modules/generators/mod_cgid.c

2009-01-06 Thread Nick Kew
[crossposting because this httpd issue raises an APR issue] Jeff Trawick wrote: On Tue, Jan 6, 2009 at 10:05 AM, > wrote: Author: trawick Date: Tue Jan 6 07:05:33 2009 New Revision: 731965 URL: http://svn.apache.org/viewvc?rev=731965&view=rev

Does apr_atomic_inc64 exist ?

2009-01-06 Thread Daniel May
I am looking for a 64-bit counterpart to apr_atomic_inc32(). Has this been implemented ? Daniel May

Re: [PATCH] apr_memcache memory leak with persistent connections

2009-01-06 Thread Sami Tolvanen
On Tue, Jan 06, 2009 at 12:20:51PM +1100, Bojan Smojver wrote: > Would you mind opening a bug and attaching the patch, so it doesn't fall > through the cracks? Sure, here you go: https://issues.apache.org/bugzilla/show_bug.cgi?id=46482 Sami