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