[PATCH] kernelbase: Fix relationship between Sleep() and GetTickCount()

Arkadiusz Hiler ahiler at codeweavers.com
Mon Aug 10 06:25:54 CDT 2020


On Mon, Aug 10, 2020 at 06:02:46AM -0500, Marvin wrote:
> Hi,
> 
> While running your changed tests, I think I found new failures.
> Being a bot and all I'm not very good at pattern recognition, so I might be
> wrong, but could you please double-check?
> 
> Full results can be found at:
> https://testbot.winehq.org/JobDetails.pl?Key=76758
> 
> Your paranoid android.
> 
> 
> === w1064v1809_he (32 bit report) ===
> 
> ntdll:
> time.c:264: Test failed: tick count isn't updated after sleeping one millisecond (87% correct)

Interesting to see it sporadically failing on Windows, just confirms how
non-deterministic GetTickCount() <-> Sleep() relationship is. I am not
sure what to do about that.

I did also few round of a binary that prints deltas if anyone is
interested:

https://testbot.winehq.org/JobDetails.pl?Key=76749&f101=exe64.report&f107=exe64.report&f201=wow64.report#k107

-- 
Cheers,
Arek



More information about the wine-devel mailing list