Boost logo

Boost :

From: Jeff Garland (jeff_at_[hidden])
Date: 2005-06-29 10:35:40


On Tue, 28 Jun 2005 18:53:44 +0200, Harald Haspl wrote
> Hello,
>
> we just found an error inside the date-time library.
>
> I use "boost::posix_time::microsec_clock::local_time()" to get the
> actual time. When the microseconds overflow and a new second starts,
> the seconds don't get incremented atomically together with the microseconds.
>
> Is this a known bug?
>
> My System:
> boost version 1.31.0
> Linux 2.6.3, SMP (Red Hat Enterprise)
> 2x Intel Xeon HT

Hi Harald -- yes this is a known bug. The fix is in the current CVS version
and will be in release 1.33.

Jeff


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