On 06/09/2011 11:15 AM, Mattias Gaertner wrote:
QueueAsyncCall is *not* thread safe.
If this is ture, I would call it a bug, as QueueAsyncCall obviously is
designed to be used by threads.
but since we are talking about the GUI thread, latency is already so
bad, that this makes no difference).
We are not. The purpose of QueueAsyncCall is to be used in a worker
Thread. The delay introduced by the GUI thread that in some remote
future is supposed to execute the queued task (e.g. display a progress
bar showing how far the worker thread has gotten with its work) is not
relevant.
-Michael
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus