[DUG]Timers
Stefan Mueller
muellers at orcl-toolbox.com
Tue Mar 7 12:25:20 NZDT 2006
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: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of Rob van der Linde
Sent: Tuesday, 7 March 2006 11:37 a.m.
To: johnkbird at paradise.net.nz; 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
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
>
>
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi
More information about the Delphi
mailing list