home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!sae!sae.com!kmo
- From: kmo@sae.com (Mike Ovington)
- Subject: Re: Implementing XNextEvent timeout
- Message-ID: <1992Aug14.000228.15186@sae.com>
- Sender: news@sae.com
- Organization: Software Architecture & Engineering, Inc.
- References: <1992Aug12.082152.3277@g2syd.genasys.com.au>
- Date: Fri, 14 Aug 1992 00:02:28 GMT
- Lines: 18
-
- In article <1992Aug12.082152.3277@g2syd.genasys.com.au>, andrewc@g2syd.genasys.com.au (Andrew Congdon) writes:
- |>
- |> How does Xt implement timeouts?
- |>
-
- Xt uses select() to watch the connection to the server (and any other file
- descripters added by Xt{App}AddInput()). The timeout specified on the
- select is computed based on the timers that have been requested by the
- application. You can certainly to the same thing without Xt, though it
- is probably easiest to grab the Xt code to do it. See lib/Xt/NextEvent.c
- in the source tree.
- --
- ________________________________________________________________________________
- Michael S. Ovington Template Software
- (703) 318-1000 13100 Worldgate Drive, Suite 340
- uunet!sae!mikeo Herndon, VA 22070-4382
- mikeo@sae.com Fax: (703) 318-7378
- ________________________________________________________________________________
-