Timers don't guarantee the execution of the events at particular intervals - if the computer is particularly busy a timer may not fire when you want it, this is particularly true of very short intervals.

Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266
http://www.salespartner.co.nz
PO Box 13085
Johnsonville
Wellington


John Bird wrote:
If I have two timers active in a program, and occasionally one of them takes
a while to execute its code, does it hold up the other timer from firing
until it is done?

Or phrased another way can I think of two timers as if running in separate
threads, or in the same thread, so that one finishes before the other can
get a chance to run.

The reason I am wondering is if there are any issues to be careful of in
modifying variables shared between the two timers.

John

_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi



_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to