O
Oxns
Hi,
I have a system with a number of system.threading.timers. These are set to
fire every (say 200 milliseconds). If the thread has little work to do, the
timer fires again at the correct time BUT if the thread does a lot of work,
the next firing is delayed by some xx milliseconds.
Is there something in the timer code which prevents the timer period from
being reset until the delegate finishes ???. If so what is the best way
around this problem as I need timers to fire accurately at their specified
intervals.
NB I am using a system.diagnostics stopwatch to log the timer timings - so
could this also be an issue ???.
Thanks
Regards
Graham
I have a system with a number of system.threading.timers. These are set to
fire every (say 200 milliseconds). If the thread has little work to do, the
timer fires again at the correct time BUT if the thread does a lot of work,
the next firing is delayed by some xx milliseconds.
Is there something in the timer code which prevents the timer period from
being reset until the delegate finishes ???. If so what is the best way
around this problem as I need timers to fire accurately at their specified
intervals.
NB I am using a system.diagnostics stopwatch to log the timer timings - so
could this also be an issue ???.
Thanks
Regards
Graham