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: 2013-01-10 17:27:48


#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 viboes):

 Replying to [comment:8 Andrew Molyneux <andrew.molyneux@…>]:
> I don't think there does have to be a direct operation on the thread -
 the thread can just end normally (by returning from the function), which
 unless I'm very much mistaken makes it non-joinable. This could happen at
 any time, so I believe the code committed in revision 81270 has a race
 condition.

 No. I thread that finish normally is still joinable. From where are you
 deducing this?

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