Re: [Boost-bugs] [Boost C++ Libraries] #4345: thread::id and joining problem with cascade of threads

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4345: thread::id and joining problem with cascade of threads
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-11-22 10:28:49


#4345: thread::id and joining problem with cascade of threads
-----------------------------------------------------------+----------------
  Reporter: bartek szurgot <bartosz.szurgot@…> | Owner: anthonyw
      Type: Bugs | Status: new
 Milestone: Boost 1.43.0 | Component: thread
   Version: Boost 1.43.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------------------------------+----------------

Comment (by bartosz.szurgot@…):

 i've tested it with boost from svn (revision 66677) and created patch that
 changes shared_prt<> to weak_ptr<> in thread::id. it appears to work (i.e.
 solves the problem). i've also attached changed version of test-program
 (locks for ++ and -- operations).

 when doing so i've also found warning on condition variable (unused
 variable when no assert is present). i've made separate patch for this as
 well.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4345#comment:9>
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:04 UTC