[Lazarus] FPC 2.6.2 + Thread.Queue?

Michael Van Canneyt michael at freepascal.org
Wed Apr 24 11:21:14 CEST 2013



On Wed, 24 Apr 2013, Michael Schnell wrote:

> On 04/24/2013 10:41 AM, Michael Van Canneyt wrote:
>> 
>> By contrast it works only in lazarus GUI programs, and is useless e.g. for 
>> daemons.
>> 
> Of course I do know that (as I issued the request for a "active" non-GUI 
> "Widget Type" with support for a Pascal EventQueue for multiple platforms - 
> like "mse" does provide ever since - already years ago, and even tried to 
> implement it myself but failed due to the complexity of the Widget Type 
> depending units in Lazarus).
>
> But AFAIK same is true for TThread.Queue(), and TThread.Synchronize 
> (requested by the OP).

No, thos is not true.

Somewhere the main program loop must call checksynchronize, that is all.

Michael.




More information about the Lazarus mailing list