debug defines in libc_r on 6.0

Daniel Eischen deischen at freebsd.org
Tue Oct 11 16:01:07 PDT 2005


On Tue, 11 Oct 2005, Mikhail Teterin wrote:

> Hi!
>
> It seems, libc_r is still being built with -D_LOCK_DEBUG and
> -D_PTHREADS_INVARIANTS.
>
> I suspect, this is going to slow the thread operations somewhat:

No, it's only a couple of instructions for a very few operations.
I've already replied to you about these before.  I don't care
whether re@ turns them off or not, but go read my prior email
on this topic.  I should eliminate the #defines and always do
the checks, so you wouldn't notice :(

-- 
DE



More information about the freebsd-threads mailing list