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: 10b6ac,9f5633938c224117 X-Google-Attributes: gid10b6ac,public X-Google-Thread: 11038b,9f5633938c224117 X-Google-Attributes: gid11038b,public X-Google-Thread: 103376,9f5633938c224117 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-02 08:33:05 PST Path: supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!xfer13.netnews.com!netnews.com!cpk-news-hub1.bbnplanet.com!news.gtei.net!EU.net!blackbush.xlink.net!kilbeggan.xlink.net!not-for-mail From: Juergen Fischer Newsgroups: comp.windows.x.intrinsics,comp.lang.ada,comp.windows.x.motif Subject: Re: Using Xt intrinsics with Ada? Date: Fri, 02 Feb 2001 17:26:47 +0100 Organization: Avitech - Aviation Management Technologies GmbH Message-ID: <3A7ADFC7.2D906A19@avitech.de> References: <3A78357A.2BD8C0B1@avitech.de> <959oeu$s8g$1@nnrp1.deja.com> <959upd$2mq$1@nnrp1.deja.com> <95a0oh$qaf$03$1@news.t-online.com> NNTP-Posting-Host: fw1.avitech.de Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------07B2E2242CBB1BFDD06C558E" X-Trace: kilbeggan.xlink.net 981131206 18070 194.121.221.60 (2 Feb 2001 16:26:46 GMT) X-Complaints-To: news-support@xlink.net NNTP-Posting-Date: 2 Feb 2001 16:26:46 GMT To: Mario Klebsch X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en Xref: supernews.google.com comp.windows.x.intrinsics:57 comp.lang.ada:4864 comp.windows.x.motif:899 Date: 2001-02-02T16:26:46+00:00 List-Id: This is a multi-part message in MIME format. --------------07B2E2242CBB1BFDD06C558E Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 --------------07B2E2242CBB1BFDD06C558E Content-Type: text/x-vcard; charset=us-ascii; name="juergen.fischer.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Juergen Fischer Content-Disposition: attachment; filename="juergen.fischer.vcf" begin:vcard n:Fischer;Juergen tel;pager:+49.(0)168.6957035 tel;cell:+49.(0)170.1630414 tel;fax:+49.(0)7541.282-299 tel;work:+49.(0)7541.282-387 x-mozilla-html:TRUE url:http://www.avitech.de org:Aviation Management Technologies GmbH;Software Development adr:;;Bahnhofplatz 1;Friedrichshafen;Baden-Wuerttemberg;88004;Germany version:2.1 email;internet:Juergen.Fischer@avitech.de title:Dr. rer. nat. Dipl.-Math. x-mozilla-cpt:;-25792 fn:Fischer, Juergen end:vcard --------------07B2E2242CBB1BFDD06C558E--