Re: [Boost-bugs] [Boost C++ Libraries] #3585: Boost::thread + valgrind/drd possible false positive

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3585: Boost::thread + valgrind/drd possible false positive
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-29 12:35:32


#3585: Boost::thread + valgrind/drd possible false positive
-----------------------------------------------------+----------------------
  Reporter: Mihail Strashun <m.strashun@…> | Owner: viboes
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.42.0 | Severity: Problem
Resolution: invalid | Keywords: thread, drd, valgrind
-----------------------------------------------------+----------------------
Changes (by viboes):

  * status: assigned => closed
  * type: Support Requests => Bugs
  * resolution: => invalid

Comment:

 Replying to [comment:9 viboes]:
> Why the signaling thread needs to lock the associated mutex?
>
> Moved to support request until resolution clarified.

 BTW, local_thread_info->current_cond is protected already by
 local_thread_info->cond_mutex


 {{{
                 boost::pthread::pthread_mutex_scoped_lock
 internal_lock(local_thread_info->cond_mutex);
 BOOST_VERIFY(!pthread_cond_broadcast(local_thread_info->current_cond));
 }}}

 So, for me this is a false positive.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3585#comment:10>
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:08 UTC