Hi, Mario Klebsch wrote: > Ted Dennison writes: > > >One caveat that caught my eye in the docs for XtAppAddInput was the > >following: > > >--------------------- > >...you should be careful not to close the end of the socket that is > >waiting before exiting XtAppMainLoop(). If you do this, you will get an > >infinite loop, in which the callback is called repeatedly, while the > >Intrinsics wait for an EOF to be read. > >----------------------- > > >I wouldn't be shocked if this, or a similar problem, was the cause of > >your troubles. Thank you for your hint, but this is definitely not the reason for the trouble. The load problem occurs although no socket is closed. Juergen > > > It should be sufficient to XtRemoveInput() the descriptor prior to > closing it. > > 73, Mario > -- > Mario Klebsch mario@klebsch.de > PGP-Key available at http://www.klebsch.de/public.key > Fingerprint DSS: EE7C DBCC D9C8 5DC1 D4DB 1483 30CE 9FB2 A047 9CE0 > Diffie-Hellman: D447 4ED6 8A10 2C65 C5E5 8B98 9464 53FF 9382 F518