在 2026-6-20 21:29, Pali Rohár 写道:
InterlockedExchangePointer() guarantees that store operation is done with memory barrier and reading of variable is done immediately after declaration. So volatile is not needed at all. --- mingw-w64-crt/misc/_localtime64.c | 2 +- mingw-w64-crt/misc/_mktime64.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
These two patches look good to me. Pushed now. -- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
