[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg-devel
Subject:    Re: [PATCH xserver 4/4] os: Use 64-bit tick count on Windows when available
From:       Jon Turney <jon.turney () dronecode ! org ! uk>
Date:       2017-12-28 21:33:52
Message-ID: 084a520d-cef8-aad9-e749-cf1585734124 () dronecode ! org ! uk
[Download RAW message or body]

On 27/12/2017 04:10, Jeff Smith wrote:
> On Windows, GetTickCount() returns a value that wraps after 49.7 days.
> Windows Vista and later offer GetTickCount64(), which does not have that
> issue.
> 
> In places that can make use of more than 32 bits from the tick counter,
> use a 64-bit counter if availabile.

Since Vista is EOL, I think we are ok with requiring it, and just 
linking directly with GetTickCount64().

doc/c-extensions should be updated to note the new minimum Windows version.

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic