Re: [Boost-bugs] [Boost C++ Libraries] #4978: Deadlock on interrupt() all threads if they are in wait()

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4978: Deadlock on interrupt() all threads if they are in wait()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-01-09 23:25:05


#4978: Deadlock on interrupt() all threads if they are in wait()
-------------------------------+-------------------------
  Reporter: d.schneider@… | Owner: anthonyw
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.46.0 | Severity: Showstopper
Resolution: fixed | Keywords:
-------------------------------+-------------------------

Comment (by anonymous):

 Same bug still present ( I assume that GCC headers comes from boost, so
 this one is related to "#include <condition_variable>" when compiling with
 -std=c++11 flag).. It causing me deadlock in a thread pool..

 If anyone still have the same problem a temporary fix is to use
 "condition_variable_any" instead. the "any" version seems to work (I
 still see no reason to maintain a specialized version just for
 unique_lock... over engineering?)

 I'd liked to post the link the the discussion on Github, but spam filters
 blocked it u.u

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4978#comment:10>
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:15 UTC