[Lazarus] TThread in console mode program.

Michael Schnell mschnell at lumino.de
Fri Jul 22 09:42:41 CEST 2016


On 07/21/2016 11:37 PM, Donald Ziesig wrote:
>
TThread.Queue simply schedules an event in the Main Thread queue (i.e. 
an event handler procedure will be called when the main thread next time 
calls CheckSynchronize() ) .

TThread.Synchronize additionally stalls the thread that calls 
TThread.Synchronize() until the main thread is done with executing the 
scheduled event handler  procedure.

-Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160722/a2743994/attachment.html>


More information about the Lazarus mailing list