[Lazarus] widgetset roadmap issue query
Michael Schnell
mschnell at lumino.de
Wed Aug 24 12:58:51 CEST 2011
On 08/24/2011 12:23 PM, Marco van de Voort wrote:
>
> QueueAsync is a Lazarus call. The Delphi 2006+ call for it is .queue, but
> that is still unimplemented in FPC.
In fact Delphi implements TThread.Queue. while Lazarus/FPC currently don't.
The LCL provides Application.QueueAsyncCall.
Both procedures are supposed to perform the same action. But
(1) Application.QueueAsyncCall is not a TThread class Function and thus
does not need support from the RTL (thus the FPC team) and
(2) Application.QueueAsyncCall is is more versatile, as it additionally
to the Procedure itself and the self pointer, it also provides a
parameter (pointer) to the procedure to be executed by the main thread.
-Michael
More information about the Lazarus
mailing list