discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Question about services


From: Richard Frith-Macdonald
Subject: Re: Question about services
Date: Wed, 18 Apr 2001 10:39:24 +0100

On Tuesday, April 17, 2001, at 10:05 PM, Fredo wrote:

Hi,

I have made a small service available from a graphical app which can be
correctly called from any other app. But when I call the service from
within the app which provides the service, GNUstep tries to start
another instance of the application. Is it the supposed behavior or did
I made a mistake?

No ... that's not how it's supposed to behave.
Possibly a problem with connecting to itsself ... GNUstep DO avoids the
use of multiple threads and there may have been a deadlock condition
causing the connection attempt to time out, and making the code think
that there was no running application, thus causing it to launch a new
copy.

I've updated the code in CVS to add a check to see if the app is trying
to use a service it provides itsself, and if so to avoid using DO to
contact itsself.  This should fix the problem, and would be more
efficient anyway.



reply via email to

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