FROM : Nir Soffer
DATE : Mon May 29 20:51:55 2006
I need two timers in a run loop, one should fire every second or so,
and the other may fire every 2 seconds or more. How can I make sure
that the 1 second timer fire always before the 2 seconds timer, even
if both are scheduled for the same fire date?
I need a solution I can easy tune later - the second timer may repeat
at the same rate or more then the first, but I may want to change the
fire interval of both, e.g use 0.5s and 4s as needed.
Best Regards,
Nir Soffer
DATE : Mon May 29 20:51:55 2006
I need two timers in a run loop, one should fire every second or so,
and the other may fire every 2 seconds or more. How can I make sure
that the 1 second timer fire always before the 2 seconds timer, even
if both are scheduled for the same fire date?
I need a solution I can easy tune later - the second timer may repeat
at the same rate or more then the first, but I may want to change the
fire interval of both, e.g use 0.5s and 4s as needed.
Best Regards,
Nir Soffer
| Related mails | Author | Date |
|---|---|---|
| Nir Soffer | May 29, 20:51 | |
| Ed Wynne | May 29, 21:43 | |
| Andrei Tchijov | May 29, 22:05 |






Cocoa mail archive

