discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Fw: Code excerpt, running in OpenStep and failing in GNUstep!


From: ramana rao
Subject: Re: Fw: Code excerpt, running in OpenStep and failing in GNUstep!
Date: Sat, 3 Nov 2001 14:22:56 +0530

Stephen,

thanks for responding

We found out the problem, it seems the GNUstep is doing some extra exception
handling for locks.

Here i was locking twice in main method, twice to lockthe main thread, so
that child threads can do their job. Such a thing was ok for OPenstep, but
GNUstep was throwing exception may be to warn a deadlock

thanks

Ramana Rao


----- Original Message -----
From: "Stephen Brandon" <stephen@brandonitconsulting.co.uk>
To: "ramana rao" <nalluri@orillion.com>; <discuss-gnustep@gnu.org>
Sent: Thursday, November 01, 2001 8:52 PM
Subject: Re: Fw: Code excerpt, running in OpenStep and failing in GNUstep!


> Which version of libobjc are you using? I have had problems with libobjc
in
> the past with a particular bug which showed up in the same way. I
submitted a
> patch to gcc which they put into some new release... but I don't think
that
> the bug existed in the libobjc that is available from the GNUstep.org
site.
>
> Cheers,
> Stephen Brandon
> stephen@brandonitconsulting.co.uk
>
> (by the way I think this was using pthreads - is that what you are using
on
> Solaris?)
>
> On Thursday 01 Nov 2001 3:04 pm, you wrote:
> > Hello GNUstepDiscussion group,
> >
> > The given below code does run in OpenStep under NT and Solaris, but is
not
> > running GNUstep/Solaris8.
> >
> > The following is a simple just detaching two threads, it is giving
> > 'Uncaught exception NSLockException, reason: Thread attempted to
> > recursively loc"  under GNUstep
> >
> > Does anybody have any clue, we  have ported applications from Open Step
to
> > GNUstep, which use plenty of threads, and often they are crashing giving
> > stack traces in libthread.so
> >
> > thanks for any help
> >
> >  Ramana Rao




reply via email to

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