apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@apache.org>
Subject Re: apr_atomic stuff... desireable to return values from more functions
Date Thu, 04 Dec 2003 20:40:41 GMT
At 09:23 AM 12/4/2003, gregames@apache.org wrote:
>gregames@apache.org wrote:
>
>>fwiw, I'm using gcc -O2 to get the inline attribute to kick in.  
>>Regardless of what we do with the API, we should commit the inline attribute IMO because
it is a nearly free performance boost.
>
>ummm, scratch that idea...staring at gcc asm syntax and error messages for days must have
cut off the flow of oxygen to my brain.  Inlining won't work in a
>library unless we go back to putting the code in header files or something similar.

I was wondering what magic you had up your sleeve :-)

There should be no problem with putting the code in the header file if it's based
on the define APR_HAS_INLINE, however.

Bill


Mime
View raw message