Re: [Boost-bugs] [Boost C++ Libraries] #9319: Using future continuations (.then) leads to deadlock waiting to acquire an already held mutex

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9319: Using future continuations (.then) leads to deadlock waiting to acquire an already held mutex
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-11-01 01:14:13


#9319: Using future continuations (.then) leads to deadlock waiting to acquire an
already held mutex
-------------------------------+---------------------------------
  Reporter: arichardatwork@… | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords: future continuation
-------------------------------+---------------------------------

Comment (by viboes):

 BTW, you can replace

 {{{
     f1.then(launch::deferred, boost::bind(bar, _1));
 }}}

 by

 {{{
     f1.then(launch::deferred, &bar);
 }}}

 if you found some issues with bind.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9319#comment:2>
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:14 UTC