Re: [Boost-bugs] [Boost C++ Libraries] #3296: Small leak using boost::shared_mutex

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3296: Small leak using boost::shared_mutex
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-07-29 12:12:46


#3296: Small leak using boost::shared_mutex
--------------------------------------------+-------------------------------
 Reporter: p.minervini@… | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: thread
  Version: Boost 1.39.0 | Severity: Problem
 Keywords: shared_mutex mutex thread leak |
--------------------------------------------+-------------------------------

Comment(by anonymous):

 this other small snippet is enough to reproduce the problem:

 #include <boost/thread.hpp>

 #include <boost/thread/shared_mutex.hpp>

 #include <boost/thread/locks.hpp>

 int main() {

    boost::shared_mutex _m;

      {

         boost::upgrade_lock<boost::shared_mutex> lock(_m);

      }

    return(0);

 }

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3296#comment:2>
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:00 UTC