nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: RE: Timer API.
From: Greg Haerr
Date: Wed, 2 Feb 2000 12:30:53 -0700

: Ooooppps... I guess this is my unix (vs. windows) background showing :(.
: Will Nano-X also have a timer API added, or is this just for
: Microwindows?

I suggest that the Nano-X timer api be similar, but have an event
sent that is returned by GrGetNextEvent().


: 
: Just out of curiosity, how do you plan to use select() since this will
: block until the timeout expires?
: 

Select()'s timeout value is set as follows:
	if no timers present, set to 0 (infinite wait)
	if timers present, set the timeout equal to the
amount of timeout left in the smallest timer.



: BTW. The article posted at linuxdevices.com was great! 

Thanks.  There's quite a bit more plans for more press, so stay tuned!

Greg

nanogui@linuxhacker.org