All these C-runtime and dll versions hurt my head, but if mingw uses
crtdll.dll which is the native one it probably won't be the thread safe
Maybe one of the other options is better.
> -----Original Message-----
> From: Matt Dargavel [mailto:matt@stripped]
> Sent: 10 January 2007 17:21
> To: plusplus@stripped
> Subject: RE: v2.2 release plan
> That surprised me a little, so I did a little digging and it seems
> made localtime thread safe for VS2005 / C++ 8.
> That means using localtime would mean dropping support for VS 2003.
> sure if that is a problem or not...
> > http://msdn2.microsoft.com/en-us/library/bf12f0hc(VS.80).aspx
> > "Both the 32-bit and 64-bit versions of gmtime, mktime, mkgmtime, and
> > localtime all use a single tm structure per thread for the
> > Each call to one of these routines destroys the result of the
> > call."
> > By this I read that Mingw is simply delegating localtime straight
> > the standard library shipped on all versions of Windows, meaning that
> > for Mingw, we can do the same as in pthreads:
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe: http://lists.mysql.com/plusplus?unsub=1