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-11-09 20:26:19


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

  * owner: anthonyw => viboes
  * status: new => assigned


Old description:

> If a thread in a thread_group is not joinable and
> BOOST_THREAD_TRROW_IF_PRECONDITION_NOT_SATISFIED is defined,
> thread_group::join_all() throws invalid_argument. Since it's impossible
> to enumerate the threads in a thread_group, it should ensure on its own
> that every thread is joinable().

New description:

 If a thread in a thread_group is not joinable and
 BOOST_THREAD_THROW_IF_PRECONDITION_NOT_SATISFIED is defined,
 thread_group::join_all() throws invalid_argument. Since it's impossible to
 enumerate the threads in a thread_group, it should ensure on its own that
 every thread is joinable().

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