On Sat Feb 10 21:18:59 2024 +0000, Jinoh Kang wrote:
Can we use 64bit integer for counters? It should be as trivial as just changing the type. Note that Wine already assumes 64bit atomic support even for 32bit platforms.
How important is this? This is mildly annoying, as we don't have ReadNoFence64 yet, and as it takes an 8 byte aligned LONG64 pointer, whereas __int64 which is used in protocol.def is 4 byte aligned, which triggers some compiler warning.
I suggest we stick to 32bit, I think this is very very unlikely to be an issue.