From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11038b,9f5633938c224117 X-Google-Attributes: gid11038b,public X-Google-Thread: 103376,9f5633938c224117 X-Google-Attributes: gid103376,public X-Google-Thread: 10b6ac,9f5633938c224117 X-Google-Attributes: gid10b6ac,public X-Google-ArrivalTime: 2001-01-31 13:41:09 PST Path: supernews.google.com!sn-xit-02!supernews.com!isdnet!skynet.be!news.csl-gmbh.net!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: mario@klebsch.de (Mario Klebsch) Newsgroups: comp.windows.x.intrinsics,comp.lang.ada,comp.windows.x.motif Subject: Re: Using Xt intrinsics with Ada? Date: Wed, 31 Jan 2001 22:40:33 +0100 Organization: T-Online Message-ID: <95a0oh$qaf$03$1@news.t-online.com> References: <3A78357A.2BD8C0B1@avitech.de> <959oeu$s8g$1@nnrp1.deja.com> <959upd$2mq$1@nnrp1.deja.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 980977233 03 26959 VtzIlPGSEAfx- 010131 21:40:33 X-Complaints-To: abuse@t-online.com X-Sender: 320013932329-0001@t-dialin.net X-Newsreader: NN version 6.5.0 CURRENT #121 Xref: supernews.google.com comp.windows.x.intrinsics:54 comp.lang.ada:4785 comp.windows.x.motif:887 Date: 2001-01-31T22:40:33+01:00 List-Id: 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. 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