| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Matt Dargavel | Date: | January 10 2007 5:21pm |
| Subject: | RE: v2.2 release plan | ||
| View as plain text | |||
That surprised me a little, so I did a little digging and it seems Microsoft made localtime thread safe for VS2005 / C++ 8. That means using localtime would mean dropping support for VS 2003. Not sure if that is a problem or not... Cheers, Matt. > 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 conversion. > Each call to one of these routines destroys the result of the previous > call." > > By this I read that Mingw is simply delegating localtime straight into > the standard library shipped on all versions of Windows, meaning that > for Mingw, we can do the same as in pthreads:
| Thread | ||
|---|---|---|
| • v2.2 release plan | Warren Young | 9 Jan |
| • RE: v2.2 release plan | Joel Fielder | 10 Jan |
| • RE: v2.2 release plan | Matt Dargavel | 10 Jan |
| • RE: v2.2 release plan | Matt Dargavel | 10 Jan |
| • Re: v2.2 release plan | Pedro Lamarão | 10 Jan |
| • Re: v2.2 release plan | Warren Young | 12 Jan |
| • Re: v2.2 release plan | Joel Fielder | 12 Jan |
| • Re: v2.2 release plan | Warren Young | 12 Jan |
| • RE: v2.2 release plan | Matt Dargavel | 12 Jan |
| • Re: v2.2 release plan | Warren Young | 12 Jan |
| • MySQL++ and Boost | Pedro Lamarão | 12 Jan |
| • Re: MySQL++ and Boost | Warren Young | 12 Jan |
| • Re: MySQL++ and Boost | Pedro Lamarão | 12 Jan |
| • Re: MySQL++ and Boost | Warren Young | 12 Jan |
| • Re: MySQL++ and Boost | Chris Frey | 12 Jan |
| • Re: MySQL++ and Boost | Warren Young | 12 Jan |
| • RE: MySQL++ and Boost | Jim Wallace | 12 Jan |
| • Re: MySQL++ and Boost | Warren Young | 12 Jan |
| • RE: MySQL++ and Boost | Steve Orton | 12 Jan |
| • RE: MySQL++ and Boost | Jim Wallace | 12 Jan |
