[Lazarus] FPC 2.6.2 + Thread.Queue?

Michael Schnell mschnell at lumino.de
Wed Apr 24 10:24:48 CEST 2013


On 04/24/2013 09:45 AM, Marco van de Voort wrote:
> On Tue, Apr 23, 2013 at 08:34:53PM -0300, silvioprog wrote:
>> In FPC 2.7.1+ you've the Queue method, but it doesn't exists in FPC 2.6.2.
>> So, what you uses instead it? The Synchronize method does not works in this
>> case.
> If Windows only, just use postmessage.

While Postmessage() / Procedure... message is supported in Linux as 
well, I would recommend to ignore this Windows.centric relict in the 
language and just use the completely platform independent and available 
since a long time QueueAsyncCall() method (which does not exist in Delphi).

-Michael




More information about the Lazarus mailing list