Suppose I have 2 QTimer objects with 10, 20 as their intervals. And suppose I want to run slot1() with timer 1 timeout signal and slot2 with timer 2. So running order of slot1 and slot2 is something like this :
10ms-----20ms-----------30ms----40ms-----
(slot1) (slot1, slot2) (slot1) (slot1, slot2)...
I want to know after 20 milliseconds which one of slot1 & slot2 executes at first? and how can I force the event loop to run slot2 and then slot1 when they have overlap.(slot2 is more important for me to run on time)