[Lazarus] Weird object variables access - fpc issue?

Michael Schnell mschnell at lumino.de
Tue Oct 24 11:20:50 CEST 2017


On 24.10.2017 10:48, el es via Lazarus wrote:
> [...]
>>> begin
>>>    repeat
>>>    until not ThreadNowInUse;  //
>>>    
>>>    try
>>>      ThreadNowInUse :=true;
>>
Busy wait actions are usually a very bad idea

Better use a TTimer for such.

-Michael



More information about the Lazarus mailing list