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

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to