Home » U++ Library support » U++ Callbacks and Timers » extracted Timer from Ctrl
Re: extracted Timer from Ctrl [message #25323 is a reply to message #25313] |
Wed, 17 February 2010 09:32   |
 |
kohait00
Messages: 939 Registered: July 2009 Location: Germany
|
Experienced Contributor |
|
|
i can do some maitanance.. concerning documentation, there isn't actually that much.
1) The Interface is the same as used from the Ctrl::TimerCallback in CtrlCore
2) To use it one does *not* need CtrlCore anymore, simply Core and Timer, where the application has a Timer instance.
3) should keep in mind, that it's a timer *queue* other things wont get to execution, until a current task is finished, and the timer queue can check whether time has come for the next task.
4) because of 3), the timing is not as accurate as maybe desired and can have "timer glitches/jitter", depending on work load..
5) favorite use is to schedule some *non*-timing-critical work for "somwhere-around-in-the-future".
6) for timing critical stuff, consider using OS native timer means, for WIN32 SetTimer (in windowing environment, using WM_TIMER callback) or CreateWaitableTimer for windowing-independant stuff, or even QueryPerformanceCounter. for Linux/Unix/Posix settimer function, but for linux there is a lot anyway.
thats basicly all
|
|
|
 |
|
extracted Timer from Ctrl
By: kohait00 on Thu, 14 January 2010 12:28
|
 |
|
Re: extracted Timer from Ctrl
By: mirek on Thu, 14 January 2010 17:38
|
 |
|
Re: extracted Timer from Ctrl
By: kohait00 on Thu, 14 January 2010 20:17
|
 |
|
Re: extracted Timer from Ctrl
By: kohait00 on Fri, 15 January 2010 15:10
|
 |
|
Re: extracted Timer from Ctrl
|
 |
|
Re: extracted Timer from Ctrl
By: kohait00 on Wed, 03 February 2010 07:05
|
 |
|
Re: extracted Timer from Ctrl
By: koldo on Wed, 03 February 2010 08:13
|
 |
|
Re: extracted Timer from Ctrl
By: kohait00 on Wed, 03 February 2010 17:27
|
 |
|
Re: extracted Timer from Ctrl
By: koldo on Wed, 03 February 2010 21:14
|
 |
|
Re: extracted Timer from Ctrl
By: kohait00 on Tue, 16 February 2010 14:12
|
 |
|
Re: extracted Timer from Ctrl
By: koldo on Tue, 16 February 2010 22:50
|
 |
|
Re: extracted Timer from Ctrl
By: kohait00 on Wed, 17 February 2010 09:32
|
 |
|
Re: extracted Timer from Ctrl
By: koldo on Sat, 20 February 2010 00:44
|
Goto Forum:
Current Time: Tue Aug 26 17:26:28 CEST 2025
Total time taken to generate the page: 0.05431 seconds
|