[<<] [<] Page 1 of 2 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
TIMERS
From: "Robbie" ####@####.#### Date: 9 Jan 2006 14:18:08 +0000 Message-Id: <20060109141423.9868991FF6@xprdmxin.myway.com> Hi, What's the story on timers (GrCreateTimer, GrdestroyTimer,...)? Are they working? I see some FIXMEs but no documentation in TODO. I've use it (or try to use it) once before and it appeared to be doing something, but not any more. Is there a known problem with this section? There is a dcumentation that there may be other timer event queued and the client must be able to handle late timer events. Is this something the app have to keep track of? Thoughts? _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
RE: [nanogui] TIMERS
From: "Robbie" ####@####.#### Date: 9 Jan 2006 18:10:48 +0000 Message-Id: <20060109181037.0E14591FEF@xprdmxin.myway.com> Could someone briefly give me an overview of how the timer system works? I'm almost sure a timer is being created but it appears that the event is never fired, if GsTimerCB is indeed the timer callback. thankx --- On Mon 01/09, Robbie < ####@####.#### > wrote: From: Robbie [mailto: ####@####.#### To: ####@####.#### Date: Mon, 9 Jan 2006 09:14:23 -0500 (EST) Subject: [nanogui] TIMERS > Hi, > What's the story on timers (GrCreateTimer, GrdestroyTimer,...)? Are they > working? I see some FIXMEs but no documentation in TODO. I've use it (or > try to use it) once before and it appeared to be doing something, but not > any more. Is there a known problem with this section? > There is a dcumentation that there may be other timer event queued and the > client must be able to handle late timer events. Is this something the app > have to keep track of? > Thoughts? > > _______________________________________________ > Join Excite! - http://www.excite.com > The most personalized portal on the Web! > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ####@####.#### > For additional commands, e-mail: ####@####.#### _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] TIMERS
From: Alex Holden ####@####.#### Date: 9 Jan 2006 19:14:44 +0000 Message-Id: <5F372346-5757-4ED5-BD10-68A4E046C281@linuxhacker.org> On 9 Jan 2006, at 18:10, Robbie wrote: > Could someone briefly give me an overview of how the timer system > works? I'm almost sure a timer is being created but it appears that > the event is never fired, if GsTimerCB is indeed the timer callback. Have you looked at src/demos/nanox/oneshot.c, periodic.c, and the other demos that use timers? -- ------------ Alex Holden - http://www.alexholden.net/ ------------ If it doesn't work, you're not hitting it with a big enough hammer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] TIMERS
From: "Robbie" ####@####.#### Date: 9 Jan 2006 19:32:50 +0000 Message-Id: <20060109193247.2B8E992003@xprdmxin.myway.com> Yes, I did. These examples are also not current (uses three args instead of two). Sometimes I'll get the event to fire but if it does it does so for the first 1 - 3 times then stops. Most of the time it doesn't fire at all. --- On Mon 01/09, Alex Holden < ####@####.#### > wrote: From: Alex Holden [mailto: ####@####.#### To: ####@####.#### Cc: ####@####.#### Date: Mon, 9 Jan 2006 19:14:39 +0000 Subject: Re: [nanogui] TIMERS On 9 Jan 2006, at 18:10, Robbie wrote: > Could someone briefly give me an overview of how the timer system > works? I'm almost sure a timer is being created but it appears that > the event is never fired, if GsTimerCB is indeed the timer callback. Have you looked at src/demos/nanox/oneshot.c, periodic.c, and the other demos that use timers? -- ------------ Alex Holden - http://www.alexholden.net/ ------------ If it doesn't work, you're not hitting it with a big enough hammer --------------------------------------------------------------------- To unsubscribe, e-mail: ####@####.#### For additional commands, e-mail: ####@####.#### _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] TIMERS
From: Alex Holden ####@####.#### Date: 9 Jan 2006 20:04:53 +0000 Message-Id: <1D37B330-A59F-4345-9A4D-C0913E8A61F0@linuxhacker.org> On 9 Jan 2006, at 19:32, Robbie wrote: > Yes, I did. These examples are also not current (uses three args > instead of two). Sometimes I'll get the event to fire but if it > does it does so for the first 1 - 3 times then stops. Most of the > time it doesn't fire at all. I just took a look at the current CVS version of Microwindows, and it appears that the integration of my improved timer code was never completed. The demos for both timer types are there, and a modified version of the core timer code for both timer types is there (though oddly it replaces one function with a flag argument with two nearly identical functions), but GrCreateTimer() doesn't have the flag argument that lets you choose which timer type to use. -- ------------ Alex Holden - http://www.alexholden.net/ ------------ If it doesn't work, you're not hitting it with a big enough hammer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] TIMERS
From: "Robbie" ####@####.#### Date: 9 Jan 2006 20:21:40 +0000 Message-Id: <20060109202020.6EED392026@xprdmxin.myway.com> I'm not sure what that means. Is there a patch missing? grepping the current cvs source shows that the only GrCreateTimer functions are those with two args. Those with three args only exist in the demos. If it is there could you point me to it? What's the Flag for? --- On Mon 01/09, Alex Holden < ####@####.#### > wrote: From: Alex Holden [mailto: ####@####.#### To: ####@####.#### Cc: ####@####.#### Date: Mon, 9 Jan 2006 20:04:48 +0000 Subject: Re: [nanogui] TIMERS > Yes, I did. These examples are also not current (uses three args > instead of two). Sometimes I'll get the event to fire but if it does > it does so for the first 1 - 3 times then stops. Most of the time it > doesn't fire at all. I just took a look at the current CVS version of Microwindows, and it appears that the integration of my improved timer code was never completed. The demos for both timer types are there, and a modified version of the core timer code for both timer types is there (though oddly it replaces one function with a flag argument with two nearly identical functions), but GrCreateTimer() doesn't have the flag argument that lets you choose which timer type to use. -- ------------ Alex Holden - http://www.alexholden.net/ ------------ If it doesn't work, you're not hitting it with a big enough hammer --------------------------------------------------------------------- To unsubscribe, e-mail: ####@####.#### For additional commands, e-mail: ####@####.#### _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] TIMERS
From: Alex Holden ####@####.#### Date: 9 Jan 2006 20:50:41 +0000 Message-Id: <3BD346DE-0775-4F19-AE21-F10EF04E4D8E@linuxhacker.org> On 9 Jan 2006, at 20:20, Robbie wrote: > I'm not sure what that means. Is there a patch missing? grepping > the current cvs source shows that the only GrCreateTimer functions > are those with two args. Those with three args only exist in the > demos. If it is there could you point me to it? What's the Flag for? There's no patch. You can see my timer code in this snapshot of my development tree taken after I stopped working on Microwindows: http://www.alexholden.net/pub/cvs-snapshots/microwin-aph/microwin- aph-07-Sep-2003.tar.bz2 If that gets wrapped, try: http://short.zen.co.uk/?id=442 -- ------------ Alex Holden - http://www.alexholden.net/ ------------ If it doesn't work, you're not hitting it with a big enough hammer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] TIMERS
From: "Robbie" ####@####.#### Date: 10 Jan 2006 17:07:50 +0000 Message-Id: <20060110170744.C926592051@xprdmxin.myway.com> I see where you comming from and I was able to make a few changes to accomodate both. However, I then discovered something odd. If I add debug print messages the timer firing appeared to be picked up. I'm refering to GsSelect in srvmain.c. Without my debug messages timeouts appears never to be checked and timeout never seem to be packed up. Anyone have any thoughts? Any idea what could cause this? could it be possible something is noe being included? Compiler Flag? Thanks > -----Original Message----- > From: Alex Holden ####@####.#### > Sent: Monday, January 09, 2006 2:51 PM > To: ####@####.#### > Cc: nanogui List > Subject: Re: [nanogui] TIMERS > > On 9 Jan 2006, at 20:20, Robbie wrote: > > I'm not sure what that means. Is there a patch missing? grepping > > the current cvs source shows that the only GrCreateTimer functions > > are those with two args. Those with three args only exist in the > > demos. If it is there could you point me to it? What's the Flag for? > > There's no patch. You can see my timer code in this snapshot of my > development tree taken after I stopped working on Microwindows: > > http://www.alexholden.net/pub/cvs-snapshots/microwin-aph/microwin- > aph-07-Sep-2003.tar.bz2 > If that gets wrapped, try: > http://short.zen.co.uk/?id=442 > > -- > ------------ Alex Holden - http://www.alexholden.net/ ------------ > If it doesn't work, you're not hitting it with a big enough hammer > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ####@####.#### > For additional commands, e-mail: ####@####.#### _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] TIMERS
From: "Greg Haerr" ####@####.#### Date: 11 Jan 2006 00:33:46 +0000 Message-Id: <0bdf01c61646$485e4fe0$0300a8c0@RDP> : However, I then discovered something odd. If I add debug print messages the timer firing appeared to be picked up. I'm refering to GsSelect in srvmain.c. : Without my debug messages timeouts appears never to be checked and timeout never seem to be packed up. This sounds like a bug... The select() may be returning for I/O (output) ready in the select, rather than the timeout. I'd like to see some sample code to duplicate this. In the meantime, I'm looking into the other timer issues you've brought up in discussions with Alex. IIRC, Alex's original timer code wasn't fully included as there was another timer submission as well, both with different APIs. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] TIMERS
From: "Robbie" ####@####.#### Date: 11 Jan 2006 15:11:30 +0000 Message-Id: <20060111151123.A6E403DDE@xprdmailfe12.nwk.excite.com> I believe the timer is not getting its share of slice and doing an IO somehow (I'm still digging through the API) allows it its time. I've attached a pice of code that shows this. It may run for a time or it may not run at all. Cheers --- On Tue 01/10, Greg Haerr < ####@####.#### > wrote: From: Greg Haerr [mailto: ####@####.#### To: ####@####.#### ####@####.#### Cc: ####@####.#### Date: Tue, 10 Jan 2006 17:30:54 -0700 Subject: Re: [nanogui] TIMERS : However, I then discovered something odd. If I add debug print messages the timer firing appeared to be picked up. I'm refering to GsSelect in srvmain.c. : Without my debug messages timeouts appears never to be checked and timeout never seem to be packed up. This sounds like a bug... The select() may be returning for I/O (output) ready in the select, rather than the timeout. I'd like to see some sample code to duplicate this. In the meantime, I'm looking into the other timer issues you've brought up in discussions with Alex. IIRC, Alex's original timer code wasn't fully included as there was another timer submission as well, both with different APIs. Regards, Greg _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! [Content type application/octet-stream not shown. Download] [Content type application/octet-stream not shown. Download] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 2 [>] [>>] |