From owner-freebsd-threads@FreeBSD.ORG Tue Oct 11 23:01:07 2005 Return-Path: X-Original-To: threads@freebsd.org Delivered-To: freebsd-threads@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C78ED16A41F; Tue, 11 Oct 2005 23:01:07 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2914943D45; Tue, 11 Oct 2005 23:01:07 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.5/8.13.5/NETPLEX) with ESMTP id j9BN0lDT005812; Tue, 11 Oct 2005 19:00:48 -0400 (EDT) Date: Tue, 11 Oct 2005 19:00:47 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Mikhail Teterin In-Reply-To: <200510111833.51168.mi+mx@aldan.algebra.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: threads@freebsd.org, re@freebsd.org Subject: Re: debug defines in libc_r on 6.0 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Oct 2005 23:01:07 -0000 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