Messages per Month
21 messages in com.mysql.lists.plusplusRE: v2.2 release plan| From | Sent On | Attachments |
|---|---|---|
| Warren Young | 09 Jan 2007 05:39 | |
| Joel Fielder | 10 Jan 2007 08:20 | |
| Matt Dargavel | 10 Jan 2007 09:20 | |
| Matt Dargavel | 10 Jan 2007 10:12 | |
| Pedro Lamarão | 10 Jan 2007 10:52 | |
| Warren Young | 11 Jan 2007 19:15 | |
| Joel Fielder | 12 Jan 2007 01:06 | |
| Warren Young | 12 Jan 2007 02:16 | |
| Matt Dargavel | 12 Jan 2007 02:57 | |
| Warren Young | 12 Jan 2007 03:44 | |
| Pedro Lamarão | 12 Jan 2007 05:40 | |
| Warren Young | 12 Jan 2007 08:02 | |
| Jim Wallace | 12 Jan 2007 10:05 | |
| Pedro Lamarão | 12 Jan 2007 10:16 | |
| Warren Young | 12 Jan 2007 10:21 | |
| Warren Young | 12 Jan 2007 10:24 | |
| Orton, Steve | 12 Jan 2007 11:11 | |
| Jim Wallace | 12 Jan 2007 11:12 | |
| Chris Frey | 12 Jan 2007 12:33 | |
| Warren Young | 12 Jan 2007 12:38 | |
| Chris Frey | 15 Jan 2007 19:15 |
| Subject: | RE: v2.2 release plan![]() |
|---|---|
| From: | Matt Dargavel (ma...@shout-telecoms.com) |
| Date: | 01/10/2007 09:20:42 AM |
| List: | com.mysql.lists.plusplus |
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:




