[Boost-bugs] [Boost C++ Libraries] #2067: thread_group::join_all can't be interrupted using thread_group::interrupt_all

Subject: [Boost-bugs] [Boost C++ Libraries] #2067: thread_group::join_all can't be interrupted using thread_group::interrupt_all
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-07-03 15:06:57


#2067: thread_group::join_all can't be interrupted using
thread_group::interrupt_all
---------------------------+------------------------------------------------
 Reporter: eb_at_[hidden] | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: threads
  Version: Boost 1.35.0 | Severity: Problem
 Keywords: |
---------------------------+------------------------------------------------
 In 1.35.0 and the trunk as of r47043, if you're blocked in
 thread_group::join_all, a subsequent thread_group::interrupt_all is
 ineffective. It blocks trying to acquire the mutex, and thus never calls
 interrupt on the underlying threads.

 This looks like it could be fixed by switching to a shared_lock.

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2067>
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:49:58 UTC