Am 24.04.2013 11:25, schrieb Michael Schnell:
On 04/24/2013 11:21 AM, Michael Van Canneyt wrote:

Somewhere the main program loop must call checksynchronize, that is all.


If that (i.e. doing a pseudo-queue in the user-code) is true for all platforms (which would mean that an EventQueue does exist and just is not polled automatically), I don't see why QueueAsyncCall() can't be handled in the same way.
Please note that if you use TThread.Queue or TThread.Synchronize from within the main thread then your code won't be queued, but executed immediately. It is only designed for enqueing code execution for threads that are not the main thread.

Regards,
Sven

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to