nanogui: Timer API.


Previous by date: 2 Feb 2000 17:25:40 -0000 Re: Truetype fonts, Greg Haerr
Next by date: 2 Feb 2000 17:25:40 -0000 Re: Timer API., Kyle Harris
Previous in thread: 2 Feb 2000 17:25:40 -0000 Re: Timer API., Greg Haerr
Next in thread: 2 Feb 2000 17:25:40 -0000 Re: Timer API., Kyle Harris

Subject: Re: Timer API.
From: "Greg Haerr" ####@####.####
Date: 2 Feb 2000 17:25:40 -0000
Message-Id: <045e01bf6da1$003811a0$15320cd0@gregh>

: I don't think Microwindows provides for anything like this. Are you
: running Linux (unix)? If so, you can use signal() and alarm() for low
: resolution timers. select() and setitimer() can be used for higher
: resolutions.
:  
: > Does anyone have an example ?
: >
: 
: See the man pages for the above functions.  
: 
: Normally, you set up a signal handler for the SIGALRM and use alarm to
: start timers.

Kyle's code could work, but that's not how we want to do it,
since Win32 requires millisecond timers, min resolution 25ms.
So we'll have to use select().  And it will have to be the main select().
We want all events to come thru the microwindows main loop, so
we don't want to use alarm, signal, or setitimer...

Greg


Previous by date: 2 Feb 2000 17:25:40 -0000 Re: Truetype fonts, Greg Haerr
Next by date: 2 Feb 2000 17:25:40 -0000 Re: Timer API., Kyle Harris
Previous in thread: 2 Feb 2000 17:25:40 -0000 Re: Timer API., Greg Haerr
Next in thread: 2 Feb 2000 17:25:40 -0000 Re: Timer API., Kyle Harris


Powered by ezmlm-browse 0.20.