[FreeNX-kNX] sleeps in freenx code
Sunil
funtoos at yahoo.com
Fri Jul 29 15:49:42 UTC 2005
Hi,
After much fiddling for failed resumes, I realised
that the timeout values may be too small in certain
places. My resume works everytime if I have these
changes in nxnode and nxserver, otherwise its a hit or
miss kind of deal:
$ diff nxnode.4.3 nxnode
429c429
< sleep 10
---
> sleep 60
$ diff nxserver.4.3 nxserver
869c869
< (sleep 10; exit 1) &
---
> (sleep 60; exit 1) &
Fixed value sleeps are evil because one value works on
one machine and doesn't on another. For machine local
synchronization, shouldn't we use something other than
sleep?
Thanks,
Sunil
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
More information about the FreeNX-kNX
mailing list