Re: [Boost-bugs] [Boost C++ Libraries] #9711: future continuation called twice

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9711: future continuation called twice
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-13 09:15:52


#9711: future continuation called twice
---------------------------+---------------------
  Reporter: anonymous | Owner: viboes
      Type: Bugs | Status: closed
 Milestone: Boost 1.56.0 | Component: thread
   Version: Boost 1.55.0 | Severity: Problem
Resolution: fixed | Keywords: futures
---------------------------+---------------------

Comment (by anton.matosov@…):

 Ok. I see now that I was using it differently and possibly wrong way.
 In the old implementation 'deferred' continuation was called synchronously
 from the thread that sets satisfies the future. And I am relying on this
 functionality. However deferred means that it should be called when
 feature value is retrieved, which now looks correct, but it is not that
 obvious when you start with future continuations as it is not described
 anywhere.

 Is there any way to achieve the functionality of the sync call from the
 'satisfier' side?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9711#comment:13>
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:17 UTC