harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Salikh Zakirov <Salikh.Zaki...@Intel.com>
Subject Re: [drlvm][threading] comments on Harmony-3288
Date Tue, 06 Mar 2007 09:42:16 GMT
Weldon Washburn wrote:
>  I would caution
> that we
> should be careful of the performance impact of replacing #ifdefs with
> call/returns.  My guess is that this will not slow down things.  In any
> case, we need to measure.

I would say that we *decrease* the depths of call chain by 1 by eliminating APR
function layer.

We could probably go further and replace functions with macros,
but there is an issue with callers expecting status constants TM_ERROR_TIMEOUT,
TM_ERROR_EBUSY etc. Probably, we could define them using system constants. This
deserves some further thinking.


Mime
View raw message