Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Sep 2004 09:00:47 +0300
From:      Petri Helenius <pete@he.iki.fi>
To:        "Matthew D. Fuller" <fullermd@over-yonder.net>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: dmalloc and pthread
Message-ID:  <4136B70F.2070705@he.iki.fi>
In-Reply-To: <20040901223938.GT53236@over-yonder.net>
References:  <4135A8E6.4010402@he.iki.fi> <20040901223938.GT53236@over-yonder.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4136B70F.2070705>