On Wed, Aug 24, 2011 at 10:46:29AM +0200, Felipe Monteiro de Carvalho wrote: > On Wed, Aug 24, 2011 at 10:12 AM, Marco van de Voort <[email protected]> wrote: > > Strange, I always thought tthreads was in classes, with the primary > > checksynchronize in sysutils? > > I was talking mostly about PostMessage and QueueAsync.
I originally also put queueasync on that RTL list, but I now see where I got confused. QueueAsync is a Lazarus call. The Delphi 2006+ call for it is .queue, but that is still unimplemented in FPC. .queue is more or less a synchronize that doesn't wait. >I had a vague memory about Synchronize requiring something from > lcl-interfaces, but now I did a search here and it seams that the only > thing that lcl-interfaces need to do for it is to call CheckSynchronize > inside the loop of TSomethingWidgetSet.AppProcessMessages It could be that it was, originally. But it is like this since at least 2.0.4 It is also possible to hook checksynchronize iirc, maybe Lazarus does that, and you have that in mind. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
