comp.lang.ada
 help / color / mirror / Atom feed
From: mario@klebsch.de (Mario Klebsch)
Subject: Re: Using Xt intrinsics with Ada?
Date: Wed, 31 Jan 2001 22:40:33 +0100
Date: 2001-01-31T22:40:33+01:00	[thread overview]
Message-ID: <95a0oh$qaf$03$1@news.t-online.com> (raw)
In-Reply-To: 959upd$2mq$1@nnrp1.deja.com

Ted Dennison <dennison@telepath.com> 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



  reply	other threads:[~2001-01-31 21:40 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-31 15:55 Using Xt intrinsics with Ada? Jürgen Grigat
2001-01-31 18:14 ` Stephen Leake
2001-02-02  9:58   ` Juergen Fischer
2001-02-02 12:00     ` Jeff Creem
2001-02-02 15:02     ` Ted Dennison
2001-02-02 15:43       ` Juergen Fischer
2001-02-02 19:30         ` Ted Dennison
2001-02-02 15:06     ` Stephen Leake
2001-02-02 15:48       ` Juergen Fischer
2001-02-05 15:06         ` Stephen Leake
2001-02-02 15:21     ` Robert Dewar
2001-01-31 19:19 ` Ted Dennison
2001-01-31 21:07   ` Ted Dennison
2001-01-31 21:40     ` Mario Klebsch [this message]
2001-02-02 16:26       ` Juergen Fischer
2001-01-31 19:42 ` Kevin Kronmiller
2001-02-01 11:55 ` Tarjei T. Jensen
2001-02-02 16:08 ` Des Walker
2001-02-02 16:40   ` Juergen Fischer
2001-02-03 14:37     ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox