apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w..@netscape.com (Wan-Teh Chang)
Subject Re: [PATCH] fix apr_atomic.h for FreeBSD
Date Tue, 25 Mar 2003 01:12:54 GMT
Craig Rodrigues wrote:
> On Sat, Mar 22, 2003 at 10:34:24PM -0800, Wan-Teh Chang wrote:
> 
>>It seems that apr_atomic_dec should be defined as
>>    return !atomic_dec_and_test(mem);
> 
>               ^^^^^^^^^^^^^^^^^^^
> 
> Did you invent that macro?  I can't find it in FreeBSD.

My mistake.  Sorry.  I did an Internet search for
atomic_dec and didn't realize that the page I was
looking at was for Linux, not FreeBSD.

Wan-Teh

Mime
View raw message