Handling more than one CPeriodic timer in an application
| Fri, 2007-09-21 10:52 | |
|
Hi, I am having a certain application in which I am having 3 periodic timers (CPeriodic) working together. Until i was having 2 timers, I was getting exact timeouts. But after I introduced the third timer, I am getting weird results. The third timer is ticking off before the timeout that I set. Suppose if I set its timeout to be 4 minutes, it will tick off earlier than that!! I am unable to understand this behavior. I can understand timeout getting delayed if something else is scheduled, but an early timeout seems odd. Does this have to do much with the priorities of my timers? The priority of first two timers is EPriorityLow and that of the newly added is EPriorityStandard. But i was getting this same behavior even when priorities of all timers was EPriorityLow. So I am not able to conclude much. Does someone have a solution.. |
|





