M
Maxim
Greetings,
A newbie question.
I have 2 System.Windows.Forms.Timers in my app, I would like to know if
there is a risk that the assigned callback functions can be executed at
the same time.
For example, the first timer calls a function every 6 secondes, and the
second - every 7 seconds. What exactly happens at the 42 second for
example ? And what if a callback function's execution takes more than 1
second, and that another timer calls it's function at the same time ?
In my case, I would like to be sure that the Timer callback function
execution is linear, i.e., the they must not be executed at the same
time.
What do you think about it ?
Thank you !
A newbie question.
I have 2 System.Windows.Forms.Timers in my app, I would like to know if
there is a risk that the assigned callback functions can be executed at
the same time.
For example, the first timer calls a function every 6 secondes, and the
second - every 7 seconds. What exactly happens at the 42 second for
example ? And what if a callback function's execution takes more than 1
second, and that another timer calls it's function at the same time ?
In my case, I would like to be sure that the Timer callback function
execution is linear, i.e., the they must not be executed at the same
time.
What do you think about it ?
Thank you !