0
Answer

Timer Syncronisation

Sumit Vedpathak

Sumit Vedpathak

17y
1.9k
1

Hi,

    The problem which is bugging me the most is that, i am spawning two threads, and inside these threads, each thread i had started 3 timers with same interval i.e. 10 secs.

    Now the problem is i want to queue the timers, because as the interval of each timer is same i.e.10 sec, it starts executing the timer function, at the same time other timer start executing the function, where as the earlier timer havnt executed the function, and it discards the full execution of function of previous timer.

   Now i want to queue all the timers, so that all the timer executes timer function fully and gives the result, one after another.

Thanks,

Sumit.