[Top][All Lists]

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

Re: NSRunLoop -run issue/question

From: Adam Fedor
Subject: Re: NSRunLoop -run issue/question
Date: Wed, 10 Aug 2005 20:58:00 -0600

Richard would know more, but he's away now. You need to make sure you have input sources, otherwise the loop will quite. Perhaps read this thread to understand more:

On Aug 9, 2005, at 11:55 PM, Stefan Urbanek wrote:


I am working on StepTalk scripting environment process ("server"). I do
it as it is usual for DO servers:

 ... register object...
 [[NSRunLooop currentRunLoop] run];

I have tried also: [[NSRunLoop currentRunLoop] runUntilDate:[NSDate

However, the process terminates, that is, it goes through the NSLog.
Anyone knows what should be reasons for that?

Very dirty (because under development) StepTalk source is here, if it
can help: -20050810.tar.bz2

The problematic code is in Tools/stenvironment.m at the bottom. You can
just run it and it terminates properly, where it should not terminate at

Also I am getting following:
2005-08-10 07:51:55.000 stenvironment[16580] Registered environment
2005-08-10 07:51:56.000 stenvironment[16580] empty components sent
/home/GNUstep/Local/Tools/stenvironment: Uncaught exception
NSPortTimeoutException, reason: root proxy request

(when run stexec Testing/Smalltalk/

Thing is, that the "empty components sent" happens on a
NSDistributedNotification. Both, object and infodict are not nil, so I
am a bit puzzled.

What I am doing wrong?

Thank you,

Stefan Urbanek

First they ignore you, then they laugh at you, then they fight you, then
you win.
- Mahatma Gandhi

Gnustep-dev mailing list

reply via email to

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