Re: [Boost-bugs] [Boost C++ Libraries] #7668: thread_group::join_all() should check whether its threads are joinable

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7668: thread_group::join_all() should check whether its threads are joinable
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-12-07 19:28:01


#7668: thread_group::join_all() should check whether its threads are joinable
------------------------------------+---------------------------------------
  Reporter: boost.lists@… | Owner: viboes
      Type: Bugs | Status: closed
 Milestone: Boost 1.53.0 | Component: thread
   Version: Boost 1.52.0 | Severity: Problem
Resolution: fixed | Keywords: thread;thread_group
------------------------------------+---------------------------------------

Comment (by mendola@…):

 The fix doesn't solve the problem indeed the thread can detach itself so
 between the call joinable() and join() the precondition would not be valid
 anymore.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7668#comment:6>
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:11 UTC