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/Testing/obj/diningPhilosophers /Users/dave/projects/gnustep-testfarm/core/base/Testing/obj/diningPhilosophers: Uncaught exception NSInternalInconsistencyException, reason: Unable to detach thread (last error Undefined error: 0) > Possibly what you are seeing is an objc runtime bug such that the > detach succeeds but appears to fail because the thread ID is zero? > See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18573 No idea. Do you have a test program for that? > Alternatively, could it possibly be that you are picking up a > different/wrong version of the objc runtime library, so that the > runtime is built with a different thread model to what the compiler > was built with? On that machine is only one gcc -- the default factory one. Dave _______________________________________________ Gnustep-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnustep-dev
