apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Ghent <da...@elemental.org>
Subject Re: Does apr_atomic_inc64 exist ?
Date Tue, 13 Jan 2009 08:35:56 GMT
On Jan 6, 2009, at 12:50 PM, Justin Erenkrantz wrote:

> On Tue, Jan 6, 2009 at 7:17 AM, Daniel May <Daniel@spryware.com>  
> 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 64-bit atomics...   -- justin

FWIW, Solaris's status is defined in the atomic_inc(3C) man page:

http://docs.sun.com/app/docs/doc/816-5168/atomic-inc-3c?a=view

Refer to the page's "See Also" section for the other variants and  
inverse operators.

/dale

Mime
View raw message