discuss-gnustep
[Top][All Lists]
Advanced

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

long poll() delay


From: Stefan Urbanek
Subject: long poll() delay
Date: Wed, 22 May 2002 10:26:25 +0200

Hi,

Still having problem with long delays each time I run an application or
when I use a pasteboard for the first time in the app. I have traced
down with gdb where the delay is and it is in poll() call in NSRunLoop.
I have wrapped that call by NSLogs and here is the output of the
application:

> openapp Farmer.app
2002-05-22 10:09:29.621 Farmer[29584] Only one display per host fully
supported.
2002-05-22 10:09:29.866 Farmer[29584] Poll start
2002-05-22 10:09:49.847 Farmer[29584] Poll end
2002-05-22 10:09:49.849 Farmer[29584] Poll start
2002-05-22 10:09:49.850 Farmer[29584] Poll end
2002-05-22 10:09:49.850 Farmer[29584] Poll start
2002-05-22 10:09:49.851 Farmer[29584] Poll end
2002-05-22 10:09:49.851 Farmer[29584] Poll start
2002-05-22 10:09:49.852 Farmer[29584] Poll end
...
You may see that the first poll took 20 seconds. The gdnc server is
already running. Subsequent poll calls are withot delay.

And same happens when I use pateboard in the application for the first
time:
...
2002-05-22 10:09:54.822 Farmer[29584] Initialize dragging
2002-05-22 10:09:54.850 Farmer[29584] Poll start
2002-05-22 10:10:14.857 Farmer[29584] Poll end
...
The pasteboard server is also running. This is really annoying for
example, when you select a text in a text field or start dragging.

This is not happening when I am launching the application on localhost
with local display. This is happening only when running on a remote
display. The situation is, as I described last time, that I am running a
XDM session on one host from another. Everthing is being run on the host
'altair': the application, two gdnc servers and two gpbs servers (one
for localhost and one for the another with X server)

Is anybody experiencing the same problem?

Stefan



reply via email to

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