[Lazarus] TThread.Synchronize
Mattias Gaertner
nc-gaertnma at netcologne.de
Wed Oct 26 23:45:32 CEST 2016
On Wed, 26 Oct 2016 20:23:11 +0200
Sascha Hestermann via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
> Am 26.10.2016 um 12:02 schrieb LacaK via Lazarus:
> > Btw. when TTimer is executing OnTimer method, which does not finishes
> > until next Interval is elapsed, is again called OnTimer ? Or next
> > OnTimer is performed only when prior OnTimer finished ?
The next time event is set when the timer event has finished. That's
why it is not an exact interval timer.
> Afaik TTimer periodically sends a message to the event queue (at least
> on Windows) and the OnTimer method is called once this message is
> processed. So unless you call ProcessMessages within your OnTimer method
> it won't be called again before it's finished.
Yes.
Mattias
More information about the Lazarus
mailing list