hpx::distributed::promise#

Defined in header hpx/future.hpp.

See Public API for a list of names and headers that are part of the public HPX API.

namespace hpx
namespace distributed
template<typename Result, typename RemoteResult>
class promise : public lcos::detail::promise_base<Result, RemoteResult, lcos::detail::promise_data<Result>>#
#include <promise.hpp>
namespace lcos
template<typename Result, typename RemoteResult, typename ComponentTag>
class base_lco_with_value
#include <base_lco_with_value.hpp>

The base_lco_with_value class is the common base class for all LCO’s synchronizing on a value. The RemoteResult template argument should be set to the type of the argument expected for the set_value action.

Template Parameters
  • RemoteResult – The type of the result value to be carried back to the LCO instance.

  • ComponentTag – The tag type representing the type of the component (either component_tag or managed_component_tag).

template<typename Action, typename Result, bool DirectExecute>
class packaged_action#
#include <packaged_action.hpp>
namespace lcos