On 2018-04-11 17:44, R0b0t1 wrote:
> This is related to something I meant to propose a while ago related to
> a cross platform timing and alarm API. 

That already exists in the form of EpikTimer
(https://github.com/graemeg/epiktimer). That is the latest
implementation with the permission of the original author.

It uses the highest resolution timer it can find on each platform, and
GetTickCount/GetTickCount64 as a fall-back in case no higher resolution
timer exists. High resolution timers exists for Windows, Linux and
FreeBSD - that I know of. OSX might also be implemented.


fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

My public PGP key:  http://tinyurl.com/graeme-pgp
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org

Reply via email to