[fpc-pascal] Serial to TCP gateway in FPC?

Michael Schnell mschnell at lumino.de
Wed Jul 5 11:54:18 CEST 2017


On 04.07.2017 00:06, Mark Morgan Lloyd wrote:
> ... if you're in any sort of tight loop you need to call APM to get 
> any of the usual GUI stuff to work.
Including any messages sent by worker threads such as "TThread.Queue", 
"TThread.Synchronize", "Application.QueueAsnycCall" and 
"SendThreadMessage".

With the additional afterthought that TThread.Synchronize will stall the 
worker thread until the event is able to be handled in the GUI Thread.

-Michael




More information about the fpc-pascal mailing list