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

Michael Schnell mschnell at lumino.de
Mon Jun 23 13:30:05 CEST 2014


On 06/23/2014 12:37 PM, Mattias Gaertner wrote:
> Are you sure you need Epiktimer and hardware ticks for TTimer? That 
> sounds like overkill.
Using a hardware timer in user-space yields the lowest possible overhead 
(preventing unnecessary user-space/system-space mode-switches).

If user space access to a hardware timer is not available in an arch, of 
course a fallback to system calls is implemented.

Happily (a Linux aware version of) EpikTimer does exactly this and hence 
a common source code (improvement of EpikTimer and Usability in NoGUI 
would be commonly manageable) seems appropriate.

In fact I hoped that vDSO could provide an arch independent interface to 
such timing source, but seemingly vDSO will not reach an appropriate 
state in foreseeable future :-( .

-Michael




More information about the Lazarus mailing list