Multiple async timers | developer.brewmp.com Multiple async timers | developer.brewmp.com

Developer

Multiple async timers

Forums:

Hi All,

I am need to call two separate call back functions running with respect to two diffrent timers - 20ms and 125ms. I have called the functions using ISHELL_SetTimer( ). The problem I am facing is that the two functions are not getting executed on their respective time, i.e. the time between same function (say func2) call is not 125ms but is coming out to be variable - 150ms / 180ms etc.

My question is that is there any problem is faced if we are using multiple timers.

Amit

from wt I know u can nt depend for exact timing for execution of uor timer ...and more so if no events happens on device.....on tht situation time automatically increases

from wt I know u can nt depend for exact timing for execution of uor timer ...and more so if no events happens on device.....on tht situation time automatically increases

Are you sure that the callback at 20ms is not taking so long to process that it delays the later one?

Are you sure that the callback at 20ms is not taking so long to process that it delays the later one?