Please note that plain old gmtime() and localtime() *are* thread-safe
in Microsoft's C library. They use a thread-local buffer.
(That doesn't be that they would be especially nice APIs, though,
using an implicit buffer. But Unix programmers managed fine with them
until threads became popular. gmti
hi,
mingw-w64 has localtime_r(), but not have gmtime_r(), the following
patch add gmtime_r()
---
Index: trunk/mingw-w64-crt/misc/difftime.c
===
--- trunk/mingw-w64-crt/misc/difftime.c (版本 602)
+++ trunk/