On Tue, 5 Apr 2022 10:23:45 +0200 (CEST)
Michael Van Canneyt via fpc-pascal <fpc-pascal@lists.freepascal.org>
wrote:

>[...]
> RTLEventWaitFor uses WaitForSingleObject internally.
> 
> According to this:
> 
> https://docs.microsoft.com/en-gb/windows/win32/sync/wait-functions
> 
> The system clock (and not some high-performance counter) is used to
> determine resolution of the timeout. You could call timeGetDevCaps to
> check the resolution.

It gives min 1, max 1000000.
I tried setting with timeBeginPeriod without effect.

Mattias
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to