On Tue, 7 Jan 2014, Michael Schnell wrote:

On 01/07/2014 02:22 PM, Michael Van Canneyt wrote:

I think you misunderstand TThread.Queue. It does not notify the main thread.
Yes it does (from the view of the user), when the environment is decently crafted (in fact it does the same as TThread.synchronize only that the thread does not wait until the mainthread is finished with executing the queued procedure). In the end they call "WakeMainThread()" on that behalf.

WakeMainThread may or may not be implemented. You should not count on that.

Michael.

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

Reply via email to