[Lazarus] controling a loop

Michael Schnell mschnell at lumino.de
Mon Aug 15 09:27:16 CEST 2016


On 12.08.2016 16:10, Bart wrote:
>
> If you extend this (into ludicracy) this would mean that exch event
> should fire a new thread that rubs the code needed and then exit...
> ;-)
Depending on the exact task in question this indeed might be perfectly 
viable.

But doing a busy loop (resulting in 100% do-nothing CPU) on behalf of a 
GUI switch IMHO is not really appropriate ever.

-Michael


More information about the Lazarus mailing list