Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9711: future continuation called twice
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-26 05:53:03
#9711: future continuation called twice
-------------------------------+----------------------
Reporter: anonymous | Owner: viboes
Type: Bugs | Status: assigned
Milestone: To Be Determined | Component: threads
Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords: futures
-------------------------------+----------------------
Comment (by viboes):
After reading more carefully the ticket and the example code, the single
call must be on the call to
{{{
futr2.get();
}}}
as the then has been called with a deferred policy, and not on the promise
set_value().
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9711#comment:5> 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