[Lazarus] Threads in Lazarus code base
Mattias Gaertner
nc-gaertnma at netcologne.de
Wed Sep 15 13:49:53 CEST 2010
On Wed, 15 Sep 2010 13:07:38 +0200
Michael Schnell <mschnell at lumino.de> wrote:
> On 09/15/2010 01:00 PM, Juha Manninen (gmail) wrote:
> > Ok, I will check the OnIde handler solution
> Hmm,
>
> I suppose the GUI will not react while the task you run in "OnIdle" is
> busy. So you will need to split your add-on in tiny pieces and run one
> after the other in subsequent "OnIdle" callbacks.
You must do that for the worker thread too, otherwise you can not
cancel it without delay.
Mattias
More information about the Lazarus
mailing list