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. Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal