Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3837: thread_specific_ptr returns incorrect values if another one was constructed at the same address earlier
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-19 19:53:03
#3837: thread_specific_ptr returns incorrect values if another one was constructed
at the same address earlier
---------------------------+------------------------------------------------
Reporter: anonymous | Owner: anthonyw
Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: thread
Version: Boost 1.41.0 | Severity: Problem
Resolution: | Keywords:
---------------------------+------------------------------------------------
Comment (by anonymous):
the assertion should not fail because the global ts-ptr has been
reconstructed, so it's ptr should be 0 in each thread.
but it does fail, try it.
the current ts-ptr cant handle different ts-ptrs at the same address at
different points in time.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3837#comment:3> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC