Opened 10 years ago

Last modified 10 years ago

#7668 closed Bugs

thread_group::join_all() should check whether its threads are joinable — at Initial Version

Reported by: boost.lists@… Owned by: Anthony Williams
Milestone: Boost 1.53.0 Component: thread
Version: Boost 1.52.0 Severity: Problem
Keywords: thread; thread_group Cc:

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().

Change History (0)

Note: See TracTickets for help on using tickets.