home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / x / 15225 < prev    next >
Encoding:
Text File  |  1992-08-13  |  1.3 KB  |  30 lines

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