apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: apr_atomic stuff... planning to move all implementation out of the header file
Date Tue, 02 Dec 2003 20:37:49 GMT
Greg Marr wrote:
> On Tue, 02 Dec 2003 13:27:18 -0500
>  Jeff Trawick <trawick@attglobal.net> wrote:
> 
>> I finally remembered I was supposed to be doing this when I had some 
>> free time.
>>
>> Comments?  Anybody want to (help me) fix anything before I commit
> 
> 
> +APR_DECLARE(void) apr_atomic_add32(volatile apr_uint32_t *mem, 
> apr_uint32_t val)
> +{
> + atomic_add((unsigned long *)(mem),(unsigned long)(val));
> +}
> +
> 
> Now that these aren't macros, you can lose the extra parens.

thanks, will-do :)


Mime
View raw message