Haven't had a look at the components .. but usually even for threaded timers
you still get the ontimer event in the main message loop (called by
synchronize) to avoid not-threadsafe vcl update problems. So you still would
not get a problem with 2 ontimer executing at the same time.

Kind Regards,
Stefan Mueller 


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Rob van der Linde
Sent: Tuesday, 7 March 2006 11:37 a.m.
To: [EMAIL PROTECTED]; NZ Borland Developers Group - Delphi List
Subject: Re: [DUG]Timers

Try Carlos Barbosa's free TThreadedTimer components, it's great, I have 
been using it for a while. It's freeware, runs in a separate thread and 
has a higher resolution than the standard timer component according to 
the author.

http://www.carlosb.com/ (Free Delphi and C# Components -> Delphi -> 
Threaded Timer)

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



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

Reply via email to