Boost logo

Boost :

Subject: Re: [boost] thread & 1.50 issues
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-07-01 15:41:37


Le 01/07/12 17:55, Tim Blechmann a écrit :
> i came across two issues of boost.thread in 1.50.
Hi,

thanks for these reports.
> the first is a minor issue: the 1.50 tarball contains a
> libs/thread/src/shared_mutex.cpp source file, which includes
> boost/thread/v2/shared_mutex.hpp, which does not exist. by default it is
> not built, so it is not a big problem, but it is not really clean, either.
As you said this is not clean, could you create a ticket, please?
> the second issue is a bit more severe, as it is an undocumented API
> change: boost::TIME_UTC has been renamed to boost::TIME_UTC_ ... not
> sure what's the reason for it, but it breaks code that used the old
> symbol. this includes the boost-style threadpool library [1] ...
>
> so i wonder, is this change really needed?
>
>
The change TIME_UTC_ was motivated by in
https://svn.boost.org/trac/boost/ticket/6940 TIME_UTC is a macro in C11.
As TIME_UTC was not documented this don't seem a break change. The
change in threadpool seems quite simple.

Sorry for these inconveniences,
Vicente


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