[Lazarus] nonlcl basic issue: is codetools LCL dependent?

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Jun 26 13:47:33 CEST 2014


On Thu, 26 Jun 2014 13:12:14 +0200
Michael Schnell <mschnell at lumino.de> wrote:

> On 06/26/2014 12:25 PM, Mattias Gaertner wrote:
> > Ok. That's incompatible to the LCL QueueAsyncCalls, which executes the 
> > calls in the main thread.
> Not true at all.

Huh?

I can rephrase it:
The LCL Application.QueueAsyncCalls can be called by any thread, and
executes the calls, when the main thread calls
Application.ProcessMessages. Therefore the calls are executed by the
main thread.

You don't need TThread.Queue for that.

For example lazbuild uses the nogui widgetset and uses QueueAsyncCalls.

Mattias




More information about the Lazarus mailing list