[Lazarus] SdpoSerial Tx and Rx buffers?
Michael Schnell
mschnell at lumino.de
Fri Feb 18 17:07:33 CET 2011
On 02/18/2011 04:56 PM, José Mejuto wrote:
> You can use Syncronize, the syncronized procedure raises the event in
> your code.
>
Unfortunately, with these Widget sets, TThread.Synchronize does not
work, either :( (see FPC bug tracker)
Application.QueueAsyncCall is more suitable, as it
1) allows to transfer the data block to the main thread in a single
step and
2) does not block the thread while it waits for handling by the main
thread (Which is done in "TThread.Synchronize" (but not in the
Delphi-only "TThread.Queue").
-Michael
More information about the Lazarus
mailing list