Re: gnustep base on NetBSD 4.0 i386

2008-01-06 Thread Richard Frith-Macdonald
On 5 Jan 2008, at 11:48, David Wetzel wrote: Matt Rice wrote: adding -pthread on the gcc command line seems to fix it Neither -lpthread nor -pthread works for me on intel... /Users/dave/projects/gnustep-testfarm/core/base/Testing/obj/ diningPhilosophers: Uncaught exception NSInternalInc

Re: gnustep base on NetBSD 4.0 i386

2008-01-06 Thread Richard Frith-Macdonald
On 6 Jan 2008, at 10:41, David Wetzel wrote: Richard Frith-Macdonald wrote: That's an odd error message... I changed the code to clear errno immediately before detaching the thread, so as to be sure we don't have a value hanging round form an earlier call. (gdb) r Starting program: /Users/d

Re: gnustep base on NetBSD 4.0 i386

2008-01-06 Thread Matt Rice
On Jan 6, 2008 6:02 AM, Richard Frith-Macdonald <[EMAIL PROTECTED]> wrote: > > On 6 Jan 2008, at 10:41, David Wetzel wrote: > > OK ... so errno 0 means that the operating system is not reporting > any error ... supporting the idea that the thread detach is succeeding. > pthread functions return an

Re: Objective C threads on NetBSD 4.0 i386

2008-01-06 Thread Richard Frith-Macdonald
On 6 Jan 2008, at 17:19, David Wetzel wrote: Hi, objc_thread_detach (@selector(hash), o, nil); returns NULL on all boxes. Also on NetBSD 3.1 where NSThread is working with GNUstep. Any Ideas? I don't see how that's possible unless you are linking something wrong ... if objc_thread_de

Re: gnustep base on NetBSD 4.0 i386

2008-01-06 Thread Richard Frith-Macdonald
On 6 Jan 2008, at 17:31, Matt Rice wrote: On Jan 6, 2008 6:02 AM, Richard Frith-Macdonald <[EMAIL PROTECTED]> wrote: On 6 Jan 2008, at 10:41, David Wetzel wrote: OK ... so errno 0 means that the operating system is not reporting any error ... supporting the idea that the thread detach is s

Objective C threads on NetBSD 4.0 i386

2008-01-06 Thread David Wetzel
Hi, objc_thread_detach (@selector(hash), o, nil); returns NULL on all boxes. Also on NetBSD 3.1 where NSThread is working with GNUstep. Any Ideas? Dave ___ Gnustep-dev mailing list Gnustep-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnust

Re: gnustep base on NetBSD 4.0 i386

2008-01-06 Thread David Wetzel
Richard Frith-Macdonald wrote: > That's an odd error message... I changed the code to clear errno > immediately before detaching the thread, so as to be sure we don't > have a value hanging round form an earlier call. (gdb) r Starting program: /Users/dave/projects/gnustep-testfarm/core/base/

Re: Objective C threads on NetBSD 4.0 i386

2008-01-06 Thread David Ayers
Richard Frith-Macdonald wrote: On 6 Jan 2008, at 17:19, David Wetzel wrote: Hi, objc_thread_detach (@selector(hash), o, nil); returns NULL on all boxes. Also on NetBSD 3.1 where NSThread is working with GNUstep. Any Ideas? I don't see how that's possible unless you are linking somethin