Subject: [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 07:08:30
#7668: thread_group::join_all() should check whether its threads are joinable
-----------------------------------+----------------------------------------
Reporter: boost.lists@⦠| Owner: anthonyw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.52.0 | Severity: Problem
Keywords: thread;thread_group |
-----------------------------------+----------------------------------------
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().
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7668> 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