home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.toolkits.xview
- Path: sparky!uunet!think.com!spool.mu.edu!darwin.sura.net!news.udel.edu!bach.udel.edu!lance
- From: lance@bach.udel.edu (Daniel A Lentz)
- Subject: itimers and strange problems
- Message-ID: <BzorAp.M25@news.udel.edu>
- Sender: usenet@news.udel.edu
- Nntp-Posting-Host: bach.udel.edu
- Organization: University of Delaware
- Date: Wed, 23 Dec 1992 00:13:37 GMT
- Lines: 18
-
- I have been playing around with xview and devguide and making a simple
- digital clock. One problem I'm having is that when the application
- runs for long periods of time (~10 hrs) it will crash the system.
-
- I have a feeling it's related to my use of itimers, which is as follows:
- I define a 1 second timer and call notify_set_itimer_func, which sets
- up the window repaint procedure as the itimer func. Ok, so then
- every second the repaint proc gets called and paints the correct
- digits for the clock. That's basically it. Does anyone have any
- suggestions? Is there some function I should call from within the
- repaint to "dismiss" an itimer or something?
-
-
- --
- o o o o o o o o o o o o o o o o o
- o o o o o lance@bach.udel.edu o o Good o o o o o o o o o
- o o o o o o lance@diu.cms.udel.edu o o Morning! o o o o o o o o o
- o o o o o o o o o o o o o o o o
-