[Lazarus] How to PostMessage to object?
Michael Schnell
mschnell at lumino.de
Thu Jun 9 11:53:41 CEST 2011
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
More information about the Lazarus
mailing list