bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #13413] pthread link failure on freebsd 5.3


From: Pete French
Subject: Re: [bug #13413] pthread link failure on freebsd 5.3
Date: Tue, 12 Jul 2005 12:44:17 +0100

> It is actually unclear to me why -base should try to work with pthreads
> directly.  I would expect it to strictly work with the objc_thread functions. 
> I believe the reason why it happens to work most of the time is because objc
> is commonly configured to use pthreads.    But maybe we need to work around
> some issues...

I've some into this one late, but it caught my interest as I am also having
problems with FreeBSD ObjC and threads, but which is unrelated to GNUstep as I
am just using bare Objective-C for programming in my work environment. Have
been trying to track down a problem for wweeks, and it seems to me that there
is something going on inside libobjc which makes it interact with threads
wrongly. Whether thats a FreeBSD issue or a libobjc issue I havent been
able to determine though.

I found that linking against libthr instead of pthread helps - but libthr
is not stable enough for production use apparently, so I only use it when
I have to for debugging purposes.

The above might be totally spurious as I'm not sure what the original
problem being discussed is - but I wanted to say that it might be
entirely unrelated to GNUstep!

-bat.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]