Forum Discussion
williamlee
14 years agoContributor
Hi
Yes, you are right, I now trying to do this. But somehow I faced one duffculty. I have two method in one timer. The timer trigger time is about 1500ms. One question is how timer operate? What I mean is:
when
the code start run, when it hit 1500ms, it go to serve the timer rountine method. When it inside the timer routine method, does the timer still count(1500->1501->....) or it already stop for a while until it finish it tasks inside the timer. Before it go out, the timer reset back to zero and continue to recount?
If the timers stop when it stop inside the timer rountine and reset to zero before it go out, why I can;t see this kind of scenario? Does it required any setting to do this?
thanks
Yes, you are right, I now trying to do this. But somehow I faced one duffculty. I have two method in one timer. The timer trigger time is about 1500ms. One question is how timer operate? What I mean is:
when
the code start run, when it hit 1500ms, it go to serve the timer rountine method. When it inside the timer routine method, does the timer still count(1500->1501->....) or it already stop for a while until it finish it tasks inside the timer. Before it go out, the timer reset back to zero and continue to recount?
If the timers stop when it stop inside the timer rountine and reset to zero before it go out, why I can;t see this kind of scenario? Does it required any setting to do this?
thanks
Related Content
- 7 years ago
- 14 years ago
Recent Discussions
- 16 hours ago