Boost logo

Boost :

From: Jeff Garland (jeff_at_[hidden])
Date: 2005-03-13 13:31:58


On Sun, 13 Mar 2005 17:31:08 +0000, Daniel James wrote
> Jeff Garland wrote:
> >>However, the fact remains that the date_time library
> >>uses non-thread safe functions in a way that cannot be
> >>controlled by the user.
> >>...snip details...
> >
> >
> > Yes, as I said earlier it's on the todo list for 1.33. BTW, worst case is
> > that we could make our own localtime_r function in the clock classes.
>
> I'm not sure about this, but I think that the windows multi-threaded
> C libraries use thread specific storage for functions like
> 'localtime'. So on that platfrom, they're okay.

My impresssion as well, although I haven't double checked...

Jeff


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk