[fpc-pascal] RTLEventWaitFor
Mattias Gaertner
nc-gaertnma at netcologne.de
Tue Apr 5 10:35:52 CEST 2022
On Tue, 5 Apr 2022 10:23:45 +0200 (CEST)
Michael Van Canneyt via fpc-pascal <fpc-pascal at 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
More information about the fpc-pascal
mailing list