[Lazarus] FPC 2.6.2 + Thread.Queue?
Michael Schnell
mschnell at lumino.de
Wed Apr 24 11:29:33 CEST 2013
On 04/24/2013 11:19 AM, Sven Barth wrote:
> Both TThread.Queue and TThread.Synchronize just need calls to
> CheckSynchronize to be processed. Which is normally done by the
> widgetset event loop, but can be done manually as well (I'm using this
> for example in a highly threaded console application; the main thread
> there just calls CheckSynchronize while the rest is done in threads).
>
Thus I would assume that CheckSynchronize also checks the
QueueAsncCall() results. If not I would consider this a design glitch
(which supposedly easily could be corrected).
(In fact I do have a rather versatile testing program for this stuff
that I could easily extend to do tests with CheckSynchronize.)
-Michael
More information about the Lazarus
mailing list