Article View: comp.windows.x
Article #37972Re: mainloop and signals
From: Michael Ovington
Date: Mon, 12 Mar 1990 15:05
Date: Mon, 12 Mar 1990 15:05
16 lines
1159 bytes
1159 bytes
>> I would like to do a similar thing...instead of using signals I want to
>>do a select on sockets. Any comments or suggestions as to get this
>>more 'tightly integrated...' with Intrinsics?
Take a look at the documentation for
XtAddInput() which is the old fashioned form of
XtAppAddInput() (we've been using this a long time.)
It registers a new source of events with Xt. You can pass in the socket
and recieve callback events when there is something to be read on the socket.
________________________________________________________________________
Michael S. Ovington Software Architecture & Engineering
(703) 276-7910 1600 Wilson Blvd, Suite 500
uunet!sae!mikeo Arlington, VA 22209
________________________________________________________________________
Technical Details
Message-ID:
<9003121505.AA11271@sae.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!snorkelwacker!bloom-beacon!sae.UUCP!mikeoShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!snorkelwacker!bloom-beacon!sae.UUCP!mikeo From: mikeo@sae.UUCP (Michael Ovington) Newsgroups: comp.windows.x Subject: Re: mainloop and signals Message-ID: <9003121505.AA11271@sae.com> Date: 12 Mar 90 15:05:35 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 16