Re: loading multi threaded library into executable enabled for single thread

2008-09-12 Thread Barry Andrews
d. It seems like the only somewhat practical option I have is to use LD_PRELOAD, which is also weird but better than nothing. On Fri, Sep 12, 2008 at 11:45 AM, Jeremy Chadwick <[EMAIL PROTECTED]>wrote: > On Fri, Sep 12, 2008 at 11:00:18AM -0400, Barry Andrews wrote: > > Thanks for th

Re: loading multi threaded library into executable enabled for single thread

2008-09-12 Thread Barry Andrews
rk in FreeBSD v5.5? Why would this go away if I upgraded to 6.x or better? thanks, B Jeremy Chadwick wrote: On Fri, Sep 12, 2008 at 09:26:37AM -0400, Barry Andrews wrote: I don't understand. If it was not broken, then why did it change in later FreeBSD versions? I should be mor

Re: loading multi threaded library into executable enabled for single thread

2008-09-12 Thread Barry Andrews
I don't understand. If it was not broken, then why did it change in later FreeBSD versions? On Fri, Sep 12, 2008 at 9:10 AM, Jeremy Chadwick <[EMAIL PROTECTED]> wrote: > On Fri, Sep 12, 2008 at 07:41:14AM -0400, Barry Andrews wrote: > > Do you know if this is documented in Re

Re: loading multi threaded library into executable enabled for single thread

2008-09-12 Thread Barry Andrews
Do you know if this is documented in Release Notes or Known Issues or somewhere? thanks, B Daniel Eischen wrote: On Thu, 11 Sep 2008, Barry Andrews wrote: Hi All, I have a multi-threaded library that is linked against libpthread. When I load this lib into a tclsh process on FreeBSD, I

Re: loading multi threaded library into executable enabled for single thread

2008-09-11 Thread Barry Andrews
, 2008 at 3:56 PM, Brooks Davis <[EMAIL PROTECTED]> wrote: > On Thu, Sep 11, 2008 at 03:06:35PM -0400, Barry Andrews wrote: > > Hi All, > > > > I have a multi-threaded library that is linked against libpthread. When I > > load this lib into a tclsh process on F

loading multi threaded library into executable enabled for single thread

2008-09-11 Thread Barry Andrews
Hi All, I have a multi-threaded library that is linked against libpthread. When I load this lib into a tclsh process on FreeBSD, I get this error, "Recurse on private mutex". and crash. I understand that I can have this issue when the executable is not linked against libpthread but one of the load