From owner-freebsd-threads@FreeBSD.ORG Thu Sep 2 06:00:50 2004 Return-Path: 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 C6D8F16A4CE for ; Thu, 2 Sep 2004 06:00:50 +0000 (GMT) Received: from silver.he.iki.fi (helenius.fi [193.64.42.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4FF343D5A for ; Thu, 2 Sep 2004 06:00:49 +0000 (GMT) (envelope-from pete@he.iki.fi) Received: from [193.64.42.134] (h86.vuokselantie10.fi [193.64.42.134]) by silver.he.iki.fi (8.12.10/8.11.4) with ESMTP id i8260km1084473; Thu, 2 Sep 2004 09:00:47 +0300 (EEST) (envelope-from pete@he.iki.fi) Message-ID: <4136B70F.2070705@he.iki.fi> Date: Thu, 02 Sep 2004 09:00:47 +0300 From: Petri Helenius User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Matthew D. Fuller" References: <4135A8E6.4010402@he.iki.fi> <20040901223938.GT53236@over-yonder.net> In-Reply-To: <20040901223938.GT53236@over-yonder.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-threads@freebsd.org Subject: Re: dmalloc and pthread X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2004 06:00:50 -0000 Matthew D. Fuller wrote: > >Does linking to -ldmallocth not do it? I use it on a few threaded >programs, and it seems to work pretty well. > > > It does but depending on the number of libaries (and possibly other things changing around) one needs to figure out the right number to put on the lockon parameter and if it's too small, it loops until stack space runs out. I was wondering if there is a better way. Pete