dmalloc and pthread

Petri Helenius pete at
Wed Sep 1 23:00:50 PDT 2004

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.


More information about the freebsd-threads mailing list