|
Boost : |
Subject: Re: [boost] [thread][VS2010] shared_mutex woo's
From: Braden McDaniel (braden_at_[hidden])
Date: 2010-07-08 03:33:58
On Sun, 2010-07-04 at 20:28 +0400, Sergei Politov wrote:
> On Sat, Jul 3, 2010 at 7:32 PM, Hartmut Kaiser <hartmut.kaiser_at_[hidden]>wrote:
>
> > This:
> >
> > #include <boost/thread.hpp>
> >
> > int main()
> > {
> > boost::shared_mutex mtx;
> > boost::upgrade_lock<boost::shared_mutex> l(mtx);
> > boost::upgrade_to_unique_lock<boost::shared_mutex> ul(l);
> >
> > return 0;
> > }
> >
> > still fails on VC21010. Defining BOOST_NO_RVALUE_REFERENCES makes this
> > compile, though.
> >
> > I mentioned it two weeks ago:
> http://thread.gmane.org/gmane.comp.lib.boost.user/59072/focus=59493
> The patch is also attached.
... And I reopened https://svn.boost.org/trac/boost/ticket/2501 in
response to this.
-- Braden McDaniel <braden_at_[hidden]>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk