[Lazarus] nonlcl basic issue: is codetools LCL dependent?

Michael Schnell mschnell at lumino.de
Fri Jun 27 15:33:15 CEST 2014


On 06/27/2014 03:07 PM, Mattias Gaertner wrote:
>
> ... or simply do it without TThread.Queue, which is not complicated,
> is LCL compatible and works with fpc 2.6.2+.
> Only argument: You fear it is more overhead. The only overhead I see is
> an extra critical section, which is negligible when your granularity
> is milliseconds.
>
As I already pointed out this would include creating an second event 
queue and take care of OS-based waiting and waking the main thread for 
both queues, as with this I can't use the timeout parameter of 
ChechSynchronize().

-Michael




More information about the Lazarus mailing list