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

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Jun 23 12:37:06 CEST 2014


On Mon, 23 Jun 2014 12:13:24 +0200
Michael Schnell <mschnell at lumino.de> wrote:

>[...]
>   - it forces to link in part of the TTimer code and part of EpikTimer, 
> and the EventQueue code (CheckSynchronize and friends) provided by the 
> fpc RTL

The nogui widgetset already calls CheckSynchronize.

>   - at program start it initializes the TTimer infrastructure (using 
> part of a modified implementation of EpikTimer, e.g. calculating the 
> TimeBase clock frequency)
>   - at runtime, in "Application.Run", it reeds hardware ticks, checks if 
> any timers are expired and calls CheckSynchronize (from the fpc rtl).

Are you sure you need Epiktimer and hardware ticks for TTimer? That
sounds like overkill.

Mattias




More information about the Lazarus mailing list