[Lazarus] Lazarus and Application.ProcessMessages

Michael Schnell mschnell at lumino.de
Fri Dec 5 14:48:35 CET 2014


On 12/04/2014 04:24 PM, Lukasz Sokol wrote:
> Executing a thread, which would TOO contain Sleep() in its Execute, 
> and then calling into next part of the startup procedure ? 

When doing threads a completely different paradigm needs to be applied.
  - TTimer can't be used in a thread
  - sleep often is very appropriate in at thread, while sleep in the 
main thread freezes the GUI and all TTImers, and hence should not be used.

-Michael




More information about the Lazarus mailing list