home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / 20683 < prev    next >
Encoding:
Text File  |  1993-01-01  |  1.0 KB  |  26 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!spool.mu.edu!agate!eos!aio!peri!reza
  3. From: reza@peri.jsc.nasa.gov (Reza Razavipour)
  4. Subject: Time outs
  5. Message-ID: <1993Jan1.174923.9735@aio.jsc.nasa.gov>
  6. Keywords: XtAddTimeOut
  7. Sender: reza@peri (Reza Razavipour)
  8. Organization: Lockheed Eng & Sci
  9. Date: Fri, 1 Jan 1993 17:49:23 GMT
  10. Lines: 14
  11.  
  12. Env: Sun Sparc1+, SunOS 4.1.2, X11R5 Patch (> 10), Motif 1.1.3, /usr/bin/cc.
  13. I have implemented an animated cursor to show that I am doing a 
  14. long computation using XtAddTimeOut.
  15. When the lengthy computation starts, I animate the cursor, going from
  16. cursor 1 to cursor 2 to cursor 3 to cursor 1 and so on.
  17. If during the lengthy computation, no events are generated in the 
  18. application window, the lenght of the computation is increased
  19. (depending on the animation rate) by about one order of magnitude.
  20. On the other hand, if I sit there and continously move the mouse
  21. while the computation is going on, the slow down in the computation
  22. is close to negligeable.
  23. Any clarification is greatly appreciated.
  24. Reza.
  25. reza@mickey.jsc.nasa.gov
  26.