[Lazarus] About Threads

Michael Schnell mschnell at lumino.de
Thu Sep 22 09:32:43 CEST 2011


The best (portable and avoiding "Windowish" stuff) way to notify the 
main thread about the state of a thread (so that the main thread can 
e.g. advance a progress bar without temporarily stall the worker thread  
is "Application. QueuAsyncCall()".

Same fires a procedure in the main thread and provides it with a parameter.

-Michael




More information about the Lazarus mailing list