[Lazarus] TThread.Synchronize

Sascha Hestermann Sascha.Hestermann at gmx.de
Wed Oct 26 20:23:11 CEST 2016


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 ?

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.


More information about the Lazarus mailing list