G
Guest
Using multiple System.Timers.Timer objects in a Windows Service for
performing multi-thread activities in a periodic fashion. Timers are
AutoReset=false, to only have a single timer execution thread running at any
given moment.
Typically, timers will have an interval of 5 to 15 minutes. Conditionally,
the interval may be set to 1 second (1000 ms) before the next call to
Timer.Start().
Here is the question: if the interval is one second before the call to
Timer.Start(), what will happen if the server clock time is changed...forward
or backward...by more than one second, or less than a second???
I have my suspicions on the answer to this question....looking for other
feedback to validate my thoughts.
performing multi-thread activities in a periodic fashion. Timers are
AutoReset=false, to only have a single timer execution thread running at any
given moment.
Typically, timers will have an interval of 5 to 15 minutes. Conditionally,
the interval may be set to 1 second (1000 ms) before the next call to
Timer.Start().
Here is the question: if the interval is one second before the call to
Timer.Start(), what will happen if the server clock time is changed...forward
or backward...by more than one second, or less than a second???
I have my suspicions on the answer to this question....looking for other
feedback to validate my thoughts.