Re: [Boost-bugs] [Boost C++ Libraries] #3526: Data races in boost::thread detected by drd/helgrind

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3526: Data races in boost::thread detected by drd/helgrind
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-10-20 02:02:12


#3526: Data races in boost::thread detected by drd/helgrind
------------------------------------+---------------------------------------
 Reporter: m.strashun@… | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
  Version: Boost 1.40.0 | Severity: Regression
 Keywords: valgrind,drd,threading |
------------------------------------+---------------------------------------

Comment(by steven_watanabe):

 Okay. The problem is
 [source:trunk/boost/thread/pthread/once.hpp_at_45865#L49 once.hpp line 49]
 and [source:trunk/boost/thread/pthread/once.hpp_at_45865#L72 once.hpp line
 72]. For this to work, we need atomic read and write. I'm not sure
 whether this is a real problem or not. At least it should be explicit.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3526#comment:4>
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:01 UTC